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.001037/0.001037, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001076/0.001076, allocations: 181 kB / 24.09 MB, free: 416 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 1.029/1.029, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.842/1.842, allocations: 377.9 MB / 0.624 GB, free: 8.445 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 2.024e-06/2.024e-06, allocations: 0 / 0.812 GB, free: 384 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.254e-05, allocations: 2.312 kB / 0.812 GB, free: 380 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003088/0.003121, allocations: 1.795 MB / 0.8137 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004631, allocations: 0.9236 MB / 0.8146 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.6e-05/0.004717, allocations: 3.938 kB / 0.8146 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.004895, allocations: 27.78 kB / 0.8147 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.005237, allocations: 126.3 kB / 0.8148 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.005552, allocations: 155.6 kB / 0.8149 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.005833, allocations: 243.3 kB / 0.8152 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.005955, allocations: 21.8 kB / 0.8152 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01904/0.02499, allocations: 6.486 MB / 0.8215 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.02517, allocations: 94.66 kB / 0.8216 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.02521, allocations: 16 kB / 0.8216 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.294e-05/0.02531, allocations: 35.97 kB / 0.8216 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.02536, allocations: 43.83 kB / 0.8217 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.02543, allocations: 55.83 kB / 0.8217 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.02572, allocations: 191.2 kB / 0.8219 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.02572, allocations: 3.938 kB / 0.8219 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.363e-06/0.02573, allocations: 0 / 0.8219 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.02573, allocations: 0.5 kB / 0.8219 GB, free: 8.551 MB / 0.7292 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.0006222/0.02635, allocations: 0.5782 MB / 0.8225 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.02639, allocations: 13 kB / 0.8225 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.02644, allocations: 20.84 kB / 0.8225 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.02662, allocations: 193.2 kB / 0.8227 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.02664, allocations: 8.375 kB / 0.8227 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.02666, allocations: 24.58 kB / 0.8227 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.889e-05/0.02676, allocations: 76.31 kB / 0.8228 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.02677, allocations: 0 / 0.8228 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.02678, allocations: 4 kB / 0.8228 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.02678, allocations: 0 / 0.8228 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.02682, allocations: 23.97 kB / 0.8228 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.02725, allocations: 386.7 kB / 0.8232 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.02744, allocations: 103.2 kB / 0.8233 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.02747, allocations: 27.61 kB / 0.8233 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.02749, allocations: 4.938 kB / 0.8233 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.0276, allocations: 93.12 kB / 0.8234 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.0276, allocations: 5.125 kB / 0.8234 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002047/0.02781, allocations: 129.4 kB / 0.8236 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.02784, allocations: 59.39 kB / 0.8236 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.02797, allocations: 248.4 kB / 0.8239 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.02799, allocations: 33.7 kB / 0.8239 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.02806, allocations: 167.3 kB / 0.824 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.02809, allocations: 40.75 kB / 0.8241 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.02816, allocations: 63.3 kB / 0.8241 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.02828, allocations: 0.5001 MB / 0.8246 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.02831, allocations: 17.11 kB / 0.8246 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.02847, allocations: 240.6 kB / 0.8249 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.02855, allocations: 98.84 kB / 0.825 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02855, allocations: 2.812 kB / 0.825 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001355/0.02869, allocations: 129.4 kB / 0.8251 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.0287, allocations: 7.938 kB / 0.8251 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.02871, allocations: 4 kB / 0.8251 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.02872, allocations: 0 / 0.8251 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.02877, allocations: 23.92 kB / 0.8251 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.02878, allocations: 4.719 kB / 0.8251 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.02887, allocations: 29.53 kB / 0.8252 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.02888, allocations: 4 kB / 0.8252 GB, free: 4.961 MB / 0.7292 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 8.645e-05/0.02896, allocations: 174.5 kB / 0.8253 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.02898, allocations: 24.34 kB / 0.8254 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.02902, allocations: 25.8 kB / 0.8254 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.02902, allocations: 1.312 kB / 0.8254 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02902, allocations: 0 / 0.8254 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.02902, allocations: 0 / 0.8254 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.02939, allocations: 441.3 kB / 0.8258 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02939, allocations: 4.125 kB / 0.8258 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.0294, allocations: 4.047 kB / 0.8258 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.02941, allocations: 3.984 kB / 0.8258 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.02941, allocations: 3.938 kB / 0.8258 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.02941, allocations: 4 kB / 0.8258 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.02942, allocations: 0 / 0.8258 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.02957, allocations: 267.7 kB / 0.8261 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.02958, allocations: 15.89 kB / 0.8261 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.0296, allocations: 11.98 kB / 0.8261 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.02965, allocations: 7.984 kB / 0.8261 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.0297, allocations: 23.97 kB / 0.8261 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.02972, allocations: 4 kB / 0.8261 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.557e-05/0.02979, allocations: 168.1 kB / 0.8263 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02979, allocations: 0 / 0.8263 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001987/0.02998, allocations: 51.89 kB / 0.8263 GB, free: 3.691 MB / 0.7292 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.0002934/0.03028, allocations: 179.9 kB / 0.8265 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.0304, allocations: 79.58 kB / 0.8266 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.0304, allocations: 0 / 0.8266 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.03046, allocations: 51.58 kB / 0.8266 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.03072, allocations: 75.44 kB / 0.8267 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.03108, allocations: 271.1 kB / 0.827 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.168e-05/0.03112, allocations: 75.98 kB / 0.827 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.23e-05/0.03117, allocations: 17.64 kB / 0.8271 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.03133, allocations: 150.1 kB / 0.8272 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of SimCode: time 8.82e-07/0.03133, allocations: 0 / 0.8272 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of Templates: time 0.005727/0.03706, allocations: 4.226 MB / 0.8313 GB, free: 14.62 MB / 0.7448 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.178697575815022]