Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.241/2.241, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 176.8 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 91.77 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.608e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.273, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9679/1.241, allocations: 152.3 MB / 1.361 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/1.241, allocations: 79.73 kB / 1.361 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01691/1.258, allocations: 6.744 MB / 1.368 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/1.258, allocations: 0 / 1.368 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.452e-05/1.258, allocations: 0 / 1.368 GB, free: 32.77 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005189/1.259, allocations: 0.4952 MB / 1.368 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.259, allocations: 15.66 kB / 1.368 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/1.259, allocations: 15.5 kB / 1.368 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/1.259, allocations: 251.6 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.259, allocations: 7.75 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/1.259, allocations: 11.58 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/1.26, allocations: 36.75 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/1.26, allocations: 66.27 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.26, allocations: 3.953 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.26, allocations: 2.719 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.26, allocations: 3.625 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/1.26, allocations: 412.3 kB / 1.369 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/1.261, allocations: 68.3 kB / 1.369 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/1.261, allocations: 27.89 kB / 1.369 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/1.261, allocations: 0 / 1.369 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/1.261, allocations: 86.83 kB / 1.369 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/1.261, allocations: 3.938 kB / 1.369 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002228/1.261, allocations: 95.98 kB / 1.369 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/1.261, allocations: 57.83 kB / 1.369 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/1.261, allocations: 168.5 kB / 1.369 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/1.261, allocations: 28.8 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/1.261, allocations: 109.8 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/1.261, allocations: 25.89 kB / 1.37 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/1.261, allocations: 0 / 1.37 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.261, allocations: 324.8 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/1.261, allocations: 25.78 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/1.262, allocations: 106.4 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/1.262, allocations: 34.08 kB / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.262, allocations: 0 / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001629/1.262, allocations: 115.9 kB / 1.37 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/1.262, allocations: 7.594 kB / 1.37 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.262, allocations: 0 / 1.37 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/1.262, allocations: 0 / 1.37 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/1.262, allocations: 18.42 kB / 1.37 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.262, allocations: 3.781 kB / 1.37 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/1.262, allocations: 23.03 kB / 1.37 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/1.262, allocations: 7.719 kB / 1.37 GB, free: 30.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.945e-05/1.262, allocations: 112.8 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/1.262, allocations: 22.5 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/1.262, allocations: 21.03 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/1.262, allocations: 0 / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.262, allocations: 0 / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.262, allocations: 2.578 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/1.263, allocations: 403.2 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.263, allocations: 3.938 kB / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/1.263, allocations: 3.875 kB / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.263, allocations: 0 / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/1.263, allocations: 0 / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.263, allocations: 0 / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.263, allocations: 4 kB / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/1.263, allocations: 200.9 kB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/1.263, allocations: 95.61 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/1.263, allocations: 3.938 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/1.263, allocations: 14.55 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/1.263, allocations: 11.94 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/1.263, allocations: 11.75 kB / 1.371 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.826e-05/1.263, allocations: 127.3 kB / 1.371 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.263, allocations: 0 / 1.371 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002764/1.264, allocations: 38.11 kB / 1.371 GB, free: 30.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003553/1.264, allocations: 171.7 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001598/1.264, allocations: 68.06 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.264, allocations: 256 / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.334e-05/1.264, allocations: 42.06 kB / 1.372 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/1.265, allocations: 34.89 kB / 1.372 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/1.265, allocations: 175 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/1.265, allocations: 0.7196 MB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.374e-05/1.265, allocations: 22.09 kB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/1.266, allocations: 22.09 kB / 1.372 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.266, allocations: 0 / 1.372 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.005713/1.271, allocations: 2.847 MB / 1.375 GB, free: 28.92 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)