Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009443/0.009443, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.002073/0.002074, allocations: 192 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 1.018 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8265, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003113/0.8297, allocations: 1.739 MB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.8312, allocations: 0.9007 MB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.8313, allocations: 7.938 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.8315, allocations: 31.73 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.8318, allocations: 119.4 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.8322, allocations: 157.9 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.8325, allocations: 231.4 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.8327, allocations: 49.59 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.8328, allocations: 111.7 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009856/0.8427, allocations: 1.66 MB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.481e-05/0.8428, allocations: 20 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.8429, allocations: 36 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.843, allocations: 43.83 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.8431, allocations: 91.48 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.8436, allocations: 226.7 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8436, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8436, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.8436, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 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.0009857/0.8446, allocations: 0.5603 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.8447, allocations: 12.92 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.8448, allocations: 16.84 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.8451, allocations: 248.2 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.8452, allocations: 12 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.8452, allocations: 16 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.8455, allocations: 113.5 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.8455, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.8455, allocations: 12 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8455, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.8457, allocations: 51.97 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.8467, allocations: 0.5435 MB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.8469, allocations: 101 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/0.847, allocations: 45.75 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.847, allocations: 0 / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.8473, allocations: 133 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.8473, allocations: 0 / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003877/0.8477, allocations: 157.5 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.8477, allocations: 81.11 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.848, allocations: 200.7 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.848, allocations: 33.7 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.8481, allocations: 128.6 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.8482, allocations: 35.73 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-05/0.8483, allocations: 65.61 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.8484, allocations: 326.8 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.045e-05/0.8485, allocations: 31.98 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.8487, allocations: 146.6 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.8489, allocations: 113.9 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8489, allocations: 4 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002704/0.8492, allocations: 157.4 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.8492, allocations: 10.19 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8492, allocations: 0 / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.8492, allocations: 4 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.8493, allocations: 15.94 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.8493, allocations: 0 / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.8496, allocations: 31.86 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.8496, allocations: 12.16 kB / 1.175 GB, free: 11.18 MB / 0.9044 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.0001377/0.8497, allocations: 139.5 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.8498, allocations: 15.91 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.8498, allocations: 21.52 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.8499, allocations: 4 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8499, allocations: 0 / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8499, allocations: 0 / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.8505, allocations: 477.5 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8505, allocations: 0 / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.8505, allocations: 4 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8505, allocations: 0 / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.8506, allocations: 11.98 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.8506, allocations: 7.938 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8506, allocations: 3.938 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.8508, allocations: 228.2 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.8509, allocations: 96.94 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.8509, allocations: 4 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.8511, allocations: 19.92 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.8511, allocations: 19.97 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.8512, allocations: 4 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001293/0.8513, allocations: 143.2 kB / 1.176 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8513, allocations: 3.938 kB / 1.176 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003282/0.8516, allocations: 47.95 kB / 1.176 GB, free: 9.852 MB / 0.9044 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.0003624/0.852, allocations: 167.2 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.8523, allocations: 97.02 kB / 1.177 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8523, allocations: 0 / 1.177 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.791e-05/0.8524, allocations: 51.92 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.8528, allocations: 54.64 kB / 1.177 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.8535, allocations: 315.9 kB / 1.177 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.8538, allocations: 0.7203 MB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.8539, allocations: 33.59 kB / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.854, allocations: 27.42 kB / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.854, allocations: 0 / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of Templates: time 0.008318/0.8623, allocations: 3.693 MB / 1.181 GB, free: 4.711 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches