Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.975/0.975, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.887/1.887, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.437e-06/3.437e-06, allocations: 4 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/3.107e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00369/0.003721, allocations: 1.799 MB / 0.8133 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.005449, allocations: 0.9235 MB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.005592, allocations: 0 / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.005815, allocations: 29.3 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004952/0.00631, allocations: 127.3 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.006746, allocations: 157 kB / 0.8145 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.007102, allocations: 243.3 kB / 0.8147 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.007244, allocations: 29.72 kB / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.007473, allocations: 147.7 kB / 0.8149 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.01876, allocations: 3.271 MB / 0.8181 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.853e-05/0.01885, allocations: 16 kB / 0.8181 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.01896, allocations: 35.94 kB / 0.8181 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.01902, allocations: 39.83 kB / 0.8181 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.603e-05/0.01912, allocations: 73.64 kB / 0.8182 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.01947, allocations: 195.3 kB / 0.8184 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.01948, allocations: 0 / 0.8184 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.244e-06/0.01948, allocations: 0 / 0.8184 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.01949, allocations: 0 / 0.8184 GB, free: 12.34 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006999/0.02019, allocations: 0.5746 MB / 0.819 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.02024, allocations: 12.94 kB / 0.819 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.02032, allocations: 20.84 kB / 0.819 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.02057, allocations: 207.8 kB / 0.8192 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.02059, allocations: 12.38 kB / 0.8192 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.02062, allocations: 19.94 kB / 0.8192 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.02076, allocations: 80.34 kB / 0.8193 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.02077, allocations: 0 / 0.8193 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.02078, allocations: 4 kB / 0.8193 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.02079, allocations: 7.438 kB / 0.8193 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.053e-05/0.02086, allocations: 31.97 kB / 0.8193 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.02143, allocations: 423.3 kB / 0.8197 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.02167, allocations: 103.8 kB / 0.8198 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.02172, allocations: 36.16 kB / 0.8199 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.02173, allocations: 4 kB / 0.8199 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.02187, allocations: 94.12 kB / 0.82 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.02187, allocations: 4 kB / 0.82 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002675/0.02214, allocations: 156.1 kB / 0.8201 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.02218, allocations: 59.34 kB / 0.8202 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.02234, allocations: 247.8 kB / 0.8204 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.02237, allocations: 34.23 kB / 0.8204 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.02245, allocations: 171.2 kB / 0.8206 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.02248, allocations: 32.56 kB / 0.8206 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.02255, allocations: 67.33 kB / 0.8207 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.02266, allocations: 0.501 MB / 0.8212 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/0.0227, allocations: 23.98 kB / 0.8212 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.02291, allocations: 231.1 kB / 0.8214 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.02303, allocations: 111.2 kB / 0.8215 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.02303, allocations: 3.938 kB / 0.8215 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001743/0.0232, allocations: 137.2 kB / 0.8217 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.02322, allocations: 4 kB / 0.8217 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.02322, allocations: 4 kB / 0.8217 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.02324, allocations: 0 / 0.8217 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.02331, allocations: 27.92 kB / 0.8217 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.02332, allocations: 4 kB / 0.8217 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.02343, allocations: 27.88 kB / 0.8217 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.02343, allocations: 4.938 kB / 0.8217 GB, free: 8.637 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 9.865e-05/0.02353, allocations: 175.5 kB / 0.8219 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.02356, allocations: 31.78 kB / 0.8219 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.02374, allocations: 17.81 kB / 0.822 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.02374, allocations: 5.125 kB / 0.822 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.02375, allocations: 0 / 0.822 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02375, allocations: 3.984 kB / 0.822 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.02418, allocations: 457.2 kB / 0.8224 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.02418, allocations: 7.984 kB / 0.8224 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.02419, allocations: 0.9062 kB / 0.8224 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.0242, allocations: 4 kB / 0.8224 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.02421, allocations: 8.469 kB / 0.8224 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.02421, allocations: 1.656 kB / 0.8224 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02421, allocations: 0 / 0.8224 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.02439, allocations: 275.7 kB / 0.8227 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.02441, allocations: 23.84 kB / 0.8227 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.02443, allocations: 4 kB / 0.8227 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.02449, allocations: 17.08 kB / 0.8227 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.02456, allocations: 19.95 kB / 0.8228 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.02458, allocations: 13.38 kB / 0.8228 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000123/0.0247, allocations: 170.9 kB / 0.8229 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0247, allocations: 0 / 0.8229 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002251/0.02493, allocations: 47.95 kB / 0.823 GB, free: 7.32 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003413/0.02527, allocations: 194.6 kB / 0.8232 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.02545, allocations: 95.41 kB / 0.8233 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02546, allocations: 0 / 0.8233 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.02553, allocations: 56.22 kB / 0.8233 GB, free: 7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.02582, allocations: 67.08 kB / 0.8234 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.02627, allocations: 279 kB / 0.8236 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.703e-05/0.02631, allocations: 75.98 kB / 0.8237 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.65e-05/0.02638, allocations: 25.61 kB / 0.8237 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.02643, allocations: 20.5 kB / 0.8238 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.02643, allocations: 0 / 0.8238 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of Templates: time 0.006278/0.03271, allocations: 4.021 MB / 0.8277 GB, free: 2.531 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.227979067945853]