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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001039/0.001039, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 8 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8057, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002889/0.8086, allocations: 1.539 MB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.8106, allocations: 0.9243 MB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.8108, allocations: 4 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.811, allocations: 27.78 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.8115, allocations: 87.67 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.8119, allocations: 147.6 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.8123, allocations: 231.3 kB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.8125, allocations: 37.67 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.8127, allocations: 95.67 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05018/0.8628, allocations: 3.279 MB / 1.03 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.863, allocations: 8 kB / 1.03 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.8631, allocations: 24 kB / 1.03 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.8632, allocations: 31.89 kB / 1.03 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.8633, allocations: 113.2 kB / 1.03 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.8636, allocations: 143.6 kB / 1.03 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8636, allocations: 0 / 1.03 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8636, allocations: 4 kB / 1.03 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.8636, allocations: 0 / 1.03 GB, free: 10.01 MB / 0.7794 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.000865/0.8645, allocations: 0.5216 MB / 1.031 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8646, allocations: 12.03 kB / 1.031 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.248e-05/0.8647, allocations: 20.75 kB / 1.031 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.865, allocations: 251.4 kB / 1.031 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.865, allocations: 4 kB / 1.031 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.865, allocations: 19.94 kB / 1.031 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.8653, allocations: 113.1 kB / 1.031 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.8653, allocations: 0 / 1.031 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.8653, allocations: 0 / 1.031 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.8653, allocations: 4 kB / 1.031 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.8655, allocations: 59.91 kB / 1.031 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009065/0.8664, allocations: 0.5552 MB / 1.032 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.8666, allocations: 97.08 kB / 1.032 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.8667, allocations: 41.7 kB / 1.032 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.8667, allocations: 4 kB / 1.032 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.8669, allocations: 129.1 kB / 1.032 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.8669, allocations: 0 / 1.032 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003549/0.8673, allocations: 154.7 kB / 1.032 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.8673, allocations: 85.23 kB / 1.032 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.8675, allocations: 200.3 kB / 1.032 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.8676, allocations: 33.7 kB / 1.032 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.8677, allocations: 124.4 kB / 1.033 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.8677, allocations: 39.53 kB / 1.033 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.8678, allocations: 29.7 kB / 1.033 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8679, allocations: 326.8 kB / 1.033 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.868, allocations: 31.98 kB / 1.033 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.8682, allocations: 142.4 kB / 1.033 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.8684, allocations: 123.1 kB / 1.033 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8684, allocations: 0 / 1.033 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002756/0.8687, allocations: 157.3 kB / 1.033 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.8687, allocations: 11.94 kB / 1.033 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8687, allocations: 0 / 1.033 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.8688, allocations: 4 kB / 1.033 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.8689, allocations: 16.14 kB / 1.033 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.8689, allocations: 11.94 kB / 1.033 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.8691, allocations: 27.89 kB / 1.033 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.8691, allocations: 11.92 kB / 1.033 GB, free: 6.371 MB / 0.7794 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.000153/0.8693, allocations: 148 kB / 1.034 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.8693, allocations: 15.81 kB / 1.034 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.8694, allocations: 25.52 kB / 1.034 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8694, allocations: 0 / 1.034 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8694, allocations: 4 kB / 1.034 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8694, allocations: 0 / 1.034 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.8701, allocations: 470.2 kB / 1.034 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8701, allocations: 8 kB / 1.034 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.8701, allocations: 3.938 kB / 1.034 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.8701, allocations: 4 kB / 1.034 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.8701, allocations: 4 kB / 1.034 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8702, allocations: 3.938 kB / 1.034 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8702, allocations: 4 kB / 1.034 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.8704, allocations: 232 kB / 1.034 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.8705, allocations: 96.91 kB / 1.034 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.8705, allocations: 4 kB / 1.034 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.8707, allocations: 19.92 kB / 1.034 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.646e-05/0.8707, allocations: 23.91 kB / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.8708, allocations: 11.94 kB / 1.034 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001294/0.8709, allocations: 143.3 kB / 1.035 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8709, allocations: 4 kB / 1.035 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003295/0.8713, allocations: 43.94 kB / 1.035 GB, free: 5.031 MB / 0.7794 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.0003547/0.8716, allocations: 167.3 kB / 1.035 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.8719, allocations: 103.8 kB / 1.035 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8719, allocations: 3.938 kB / 1.035 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.981e-05/0.872, allocations: 51.92 kB / 1.035 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.8724, allocations: 57.09 kB / 1.035 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.8731, allocations: 378.5 kB / 1.035 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.8734, allocations: 0.7245 MB / 1.036 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.8735, allocations: 23.44 kB / 1.036 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of SimCode: time 4.3e-07/0.8735, allocations: 3.938 kB / 1.036 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of Templates: time 0.006061/0.8796, allocations: 3.173 MB / 1.039 GB, free: 344 kB / 0.7794 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches