Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004808/0.004808, allocations: 99.64 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 193.6 kB / 16.67 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 59.91 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3139, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.0033/0.3172, allocations: 1.74 MB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3188, allocations: 0.9011 MB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.319, allocations: 0 / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.3192, allocations: 31.72 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.3196, allocations: 119.4 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.3201, allocations: 145.6 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.3205, allocations: 243.5 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3207, allocations: 37.61 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.3209, allocations: 111.7 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.3312, allocations: 1.665 MB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.3313, allocations: 20 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3315, allocations: 39.94 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.3316, allocations: 39.89 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3317, allocations: 95.5 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.3321, allocations: 223.2 kB / 1.213 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3322, allocations: 0 / 1.213 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3322, allocations: 4 kB / 1.213 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.3322, allocations: 0 / 1.213 GB, free: 5.141 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009962/0.3332, allocations: 0.5488 MB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.3332, allocations: 12.62 kB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.3333, allocations: 42.73 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.3334, allocations: 16.75 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.3337, allocations: 255.7 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.3338, allocations: 15.98 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.3338, allocations: 16 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3341, allocations: 108.4 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3341, allocations: 0 / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3341, allocations: 4 kB / 1.214 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3341, allocations: 0 / 1.214 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.3342, allocations: 59.91 kB / 1.214 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008967/0.3351, allocations: 0.5434 MB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.3353, allocations: 97.12 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.3354, allocations: 37.77 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3354, allocations: 8.062 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.3357, allocations: 117.1 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 3.076e-06/0.3357, allocations: 3.984 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003806/0.3361, allocations: 165.5 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3362, allocations: 81.11 kB / 1.215 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.3364, allocations: 200.3 kB / 1.215 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3364, allocations: 33.7 kB / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.3365, allocations: 124.4 kB / 1.215 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.3366, allocations: 39.53 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.3367, allocations: 53.69 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3368, allocations: 334.9 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.3369, allocations: 35.98 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.3371, allocations: 147.3 kB / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.3373, allocations: 112.7 kB / 1.216 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3373, allocations: 0 / 1.216 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002566/0.3376, allocations: 161.3 kB / 1.216 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3376, allocations: 15.12 kB / 1.216 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3376, allocations: 0 / 1.216 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3376, allocations: 4 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.3377, allocations: 19.98 kB / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3377, allocations: 3.938 kB / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.338, allocations: 23.83 kB / 1.216 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.338, allocations: 12 kB / 1.216 GB, free: 1.402 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.3381, allocations: 142.6 kB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.3382, allocations: 19.81 kB / 1.216 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.3382, allocations: 17.53 kB / 1.216 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3382, allocations: 4 kB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3382, allocations: 0 / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3382, allocations: 7.922 kB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.3388, allocations: 466.1 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3389, allocations: 0 / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.3389, allocations: 11.92 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3389, allocations: 4 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3389, allocations: 7.938 kB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3389, allocations: 0 / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3389, allocations: 0 / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.3392, allocations: 224.2 kB / 1.217 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.3393, allocations: 96.8 kB / 1.217 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.3393, allocations: 11.94 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3394, allocations: 11.98 kB / 1.217 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.3395, allocations: 23.97 kB / 1.217 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.3395, allocations: 8 kB / 1.217 GB, free: 276 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001324/0.3397, allocations: 148.2 kB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3397, allocations: 0 / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003285/0.34, allocations: 47.98 kB / 1.217 GB, free: 80 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007179/0.3407, allocations: 0.8332 MB / 1.218 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.341, allocations: 99.89 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.341, allocations: 0 / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.3411, allocations: 47.92 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3415, allocations: 63.12 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.3435, allocations: 1.932 MB / 1.22 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3437, allocations: 0.7203 MB / 1.221 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.284e-05/0.3438, allocations: 29.52 kB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3439, allocations: 59.41 kB / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3439, allocations: 0 / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3659, allocations: 5.629 MB / 1.226 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.191, allocations: 19.78 kB / 1.226 GB, free: 6.68 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:booPul.period,booPul.startTime,booPul.width,booPul.y,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activate,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activate,scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y