Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000976/0.0009762, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000877/0.0008772, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.58/2.58, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004009, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7744, allocations: 142.4 MB / 0.9544 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.001952/0.7764, allocations: 1.509 MB / 0.9559 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.7776, allocations: 0.8887 MB / 0.9568 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.7777, allocations: 1.281 kB / 0.9568 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.7779, allocations: 36.2 kB / 0.9568 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.7781, allocations: 92.5 kB / 0.9569 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.7784, allocations: 139.9 kB / 0.957 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.7786, allocations: 205.3 kB / 0.9572 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.7788, allocations: 32.09 kB / 0.9573 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.7789, allocations: 96.45 kB / 0.9573 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004829/0.7837, allocations: 3.378 MB / 0.9606 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/0.7838, allocations: 8 kB / 0.9607 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.81e-05/0.7839, allocations: 26.53 kB / 0.9607 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.7839, allocations: 34.55 kB / 0.9607 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.784, allocations: 58 kB / 0.9608 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.7841, allocations: 149.5 kB / 0.9609 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7842, allocations: 0 / 0.9609 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7842, allocations: 0 / 0.9609 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.7842, allocations: 1.562 kB / 0.9609 GB, free: 4.203 MB / 0.7169 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.0006072/0.7848, allocations: 0.523 MB / 0.9614 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.7848, allocations: 13.61 kB / 0.9614 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.7849, allocations: 18.22 kB / 0.9615 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.7851, allocations: 230.2 kB / 0.9617 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.7851, allocations: 6.812 kB / 0.9617 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.7852, allocations: 18.83 kB / 0.9617 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.7854, allocations: 124.4 kB / 0.9618 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.7854, allocations: 0 / 0.9618 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.7854, allocations: 9 kB / 0.9618 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.7854, allocations: 2.25 kB / 0.9618 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.7855, allocations: 50.56 kB / 0.9619 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.7862, allocations: 0.5495 MB / 0.9624 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.7864, allocations: 101.9 kB / 0.9625 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.7865, allocations: 41.8 kB / 0.9625 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.7865, allocations: 1 kB / 0.9625 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.7867, allocations: 126.5 kB / 0.9627 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.7867, allocations: 0 / 0.9627 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003114/0.787, allocations: 157.3 kB / 0.9628 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.787, allocations: 96.38 kB / 0.9629 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.7872, allocations: 195.5 kB / 0.9631 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.7872, allocations: 32.77 kB / 0.9631 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.7873, allocations: 126 kB / 0.9632 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.7873, allocations: 28.94 kB / 0.9633 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.7874, allocations: 5 kB / 0.9633 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.7874, allocations: 328 kB / 0.9636 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.7875, allocations: 33.55 kB / 0.9636 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.7877, allocations: 135.5 kB / 0.9638 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.7878, allocations: 45.72 kB / 0.9638 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7878, allocations: 0.8125 kB / 0.9638 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002229/0.788, allocations: 157 kB / 0.9639 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.788, allocations: 6.312 kB / 0.964 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.788, allocations: 1.281 kB / 0.964 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7881, allocations: 6.516 kB / 0.964 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.7881, allocations: 16.5 kB / 0.964 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.7882, allocations: 7 kB / 0.964 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.7884, allocations: 36.97 kB / 0.964 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.7884, allocations: 5.688 kB / 0.964 GB, free: 1.422 MB / 0.7169 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.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.7885, allocations: 144.8 kB / 0.9642 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.7885, allocations: 15.97 kB / 0.9642 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.7886, allocations: 26.11 kB / 0.9642 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7886, allocations: 9.984 kB / 0.9642 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7886, allocations: 4.672 kB / 0.9642 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7886, allocations: 0.7188 kB / 0.9642 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.7891, allocations: 467.7 kB / 0.9647 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7891, allocations: 4.75 kB / 0.9647 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.7891, allocations: 2.938 kB / 0.9647 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.7892, allocations: 5.766 kB / 0.9647 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.7892, allocations: 9.984 kB / 0.9647 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7892, allocations: 5 kB / 0.9647 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7892, allocations: 0.9688 kB / 0.9647 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.7894, allocations: 222.7 kB / 0.9649 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.7894, allocations: 102 kB / 0.965 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.7894, allocations: 5.828 kB / 0.965 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.7896, allocations: 20.14 kB / 0.965 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.7897, allocations: 20.5 kB / 0.965 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.7897, allocations: 9.984 kB / 0.9651 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.984e-05/0.7898, allocations: 135.8 kB / 0.9652 GB, free: 404 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7898, allocations: 3.938 kB / 0.9652 GB, free: 400 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003245/0.7901, allocations: 51.91 kB / 0.9652 GB, free: 384 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002986/0.7904, allocations: 181.7 kB / 0.9654 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.7907, allocations: 91.62 kB / 0.9655 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7907, allocations: 1.031 kB / 0.9655 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.858e-05/0.7908, allocations: 49.64 kB / 0.9655 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.7912, allocations: 54.23 kB / 0.9656 GB, free: 172 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.7917, allocations: 323.5 kB / 0.9659 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.792, allocations: 0.7212 MB / 0.9666 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.801e-05/0.7921, allocations: 27.12 kB / 0.9666 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.7922, allocations: 27.73 kB / 0.9667 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.7922, allocations: 0 / 0.9667 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.007088/0.7993, allocations: 3.296 MB / 0.9699 GB, free: 13.5 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches