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.001472/0.001472, allocations: 104.7 kB / 16.41 MB, free: 6.461 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.001847/0.001847, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.08 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.438/2.438, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.001601, allocations: 67.84 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.8322, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003255/0.8355, allocations: 1.738 MB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.8371, allocations: 0.9046 MB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.8373, allocations: 3.938 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.8375, allocations: 35.66 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.8379, allocations: 123.4 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.8384, allocations: 149.2 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.8387, allocations: 239.4 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.8388, allocations: 37.67 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.839, allocations: 119.6 kB / 1.171 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009894/0.8489, allocations: 1.655 MB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.876e-05/0.849, allocations: 20 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.8491, allocations: 32 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.8492, allocations: 43.83 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.8493, allocations: 95.5 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.8498, allocations: 219.3 kB / 1.173 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8498, allocations: 0 / 1.173 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8498, allocations: 0 / 1.173 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.8498, allocations: 0 / 1.173 GB, free: 14.9 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.0008662/0.8507, allocations: 0.5468 MB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.8507, allocations: 12.92 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/0.8508, allocations: 28.59 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.8511, allocations: 244.1 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.8512, allocations: 12 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.8512, allocations: 16 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.8514, allocations: 129.2 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8514, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.8515, allocations: 7.984 kB / 1.174 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.8515, allocations: 4 kB / 1.174 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.8516, allocations: 51.97 kB / 1.174 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008628/0.8525, allocations: 0.5435 MB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.8527, allocations: 97.25 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.8527, allocations: 33.78 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.8527, allocations: 4 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.853, allocations: 129.1 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.853, allocations: 0 / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003357/0.8534, allocations: 156.8 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.8534, allocations: 85.05 kB / 1.175 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.8536, allocations: 212.7 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.8537, allocations: 37.7 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.8538, allocations: 116.5 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.8538, allocations: 39.53 kB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.8539, allocations: 57.67 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.854, allocations: 326.8 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.8541, allocations: 35.98 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.8544, allocations: 142.8 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.8545, allocations: 113.9 kB / 1.176 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8545, allocations: 0 / 1.176 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002566/0.8548, allocations: 149.4 kB / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.8548, allocations: 8 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8548, allocations: 3.938 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.8548, allocations: 7.984 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.8549, allocations: 19.94 kB / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.855, allocations: 8.156 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.8552, allocations: 23.83 kB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.8552, allocations: 11.98 kB / 1.176 GB, free: 11.21 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.0001253/0.8553, allocations: 139.5 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.8554, allocations: 19.81 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.8554, allocations: 21.52 kB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8554, allocations: 0 / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8555, allocations: 0 / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8555, allocations: 8 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.8561, allocations: 464.5 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8561, allocations: 0 / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.8561, allocations: 4 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.8561, allocations: 8.031 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.8561, allocations: 3.984 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.8561, allocations: 3.938 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8561, allocations: 0 / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.8564, allocations: 244 kB / 1.177 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.8564, allocations: 92.92 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.8565, allocations: 7.984 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.8566, allocations: 15.92 kB / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.8567, allocations: 15.98 kB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.8567, allocations: 11.98 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001194/0.8568, allocations: 143.2 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8568, allocations: 0 / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003166/0.8572, allocations: 47.94 kB / 1.177 GB, free: 9.887 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.0003546/0.8575, allocations: 172 kB / 1.177 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.8578, allocations: 95.84 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8578, allocations: 0 / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.8579, allocations: 53.97 kB / 1.177 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.8583, allocations: 58.69 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.859, allocations: 341.8 kB / 1.178 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.8593, allocations: 0.7242 MB / 1.178 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.8593, allocations: 27.42 kB / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of SimCode: time 6.31e-07/0.8593, allocations: 0 / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of Templates: time 0.005666/0.865, allocations: 3.217 MB / 1.182 GB, free: 5.195 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/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