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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 113.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 489.3 MB / 0.7687 GB, free: 3.945 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 1.103 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9136/0.9155, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002712/0.9183, allocations: 1.639 MB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.9192, allocations: 0.5674 MB / 1.265 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.9193, allocations: 0.9375 kB / 1.265 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.9195, allocations: 27.58 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.9198, allocations: 114.9 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.9202, allocations: 149 kB / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.9204, allocations: 217.5 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.9206, allocations: 24.72 kB / 1.265 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.9207, allocations: 110 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.9324, allocations: 1.572 MB / 1.267 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.9325, allocations: 20.03 kB / 1.267 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.9327, allocations: 36.08 kB / 1.267 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.9327, allocations: 30.48 kB / 1.267 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.9329, allocations: 83.73 kB / 1.267 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.9333, allocations: 193.9 kB / 1.267 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9333, allocations: 0.8125 kB / 1.267 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9333, allocations: 0.7969 kB / 1.267 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.9333, allocations: 5.094 kB / 1.267 GB, free: 5.602 MB / 0.9981 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.0006596/0.934, allocations: 0.5293 MB / 1.268 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.934, allocations: 9.344 kB / 1.268 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/0.9341, allocations: 19.47 kB / 1.268 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.9343, allocations: 234.7 kB / 1.268 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.9344, allocations: 14.02 kB / 1.268 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.9344, allocations: 8.719 kB / 1.268 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.9346, allocations: 87.11 kB / 1.268 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9346, allocations: 0 / 1.268 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.9346, allocations: 6.656 kB / 1.268 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.9346, allocations: 1.562 kB / 1.268 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.9347, allocations: 41.61 kB / 1.268 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.9355, allocations: 446.3 kB / 1.269 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.9356, allocations: 67.98 kB / 1.269 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.9357, allocations: 33.17 kB / 1.269 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.9357, allocations: 0.9688 kB / 1.269 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.9359, allocations: 87.19 kB / 1.269 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.9359, allocations: 4 kB / 1.269 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0002779/0.9362, allocations: 131.6 kB / 1.269 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.9362, allocations: 58.69 kB / 1.269 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.9364, allocations: 188.4 kB / 1.269 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.9364, allocations: 33.77 kB / 1.269 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.9365, allocations: 112.7 kB / 1.269 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.9365, allocations: 37.94 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.9366, allocations: 52.73 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.9367, allocations: 331.2 kB / 1.27 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.9367, allocations: 25.8 kB / 1.27 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.9369, allocations: 117.6 kB / 1.27 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.937, allocations: 86.88 kB / 1.27 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9371, allocations: 5.188 kB / 1.27 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001996/0.9373, allocations: 139.6 kB / 1.27 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9373, allocations: 5 kB / 1.27 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.9373, allocations: 6.859 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.9373, allocations: 2.062 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.9374, allocations: 23.08 kB / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.9374, allocations: 3.219 kB / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.9376, allocations: 23.31 kB / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.9376, allocations: 6.141 kB / 1.27 GB, free: 3.27 MB / 0.9981 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 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.9377, allocations: 134 kB / 1.27 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.9377, allocations: 18.34 kB / 1.27 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.9378, allocations: 19.5 kB / 1.27 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.9378, allocations: 1.906 kB / 1.27 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9378, allocations: 4 kB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9378, allocations: 1.578 kB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.9382, allocations: 429.1 kB / 1.271 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9382, allocations: 0.6875 kB / 1.271 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.9383, allocations: 11.33 kB / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.9383, allocations: 1.484 kB / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.9383, allocations: 1.891 kB / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.9383, allocations: 0.9062 kB / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9383, allocations: 0 / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.9385, allocations: 212.2 kB / 1.271 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.9385, allocations: 89.17 kB / 1.271 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.9385, allocations: 2.328 kB / 1.271 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.9386, allocations: 6.766 kB / 1.271 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.9387, allocations: 15.62 kB / 1.271 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.9387, allocations: 6.688 kB / 1.271 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001062/0.9388, allocations: 141.5 kB / 1.271 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9388, allocations: 3.938 kB / 1.271 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002942/0.9391, allocations: 44.02 kB / 1.271 GB, free: 2.363 MB / 0.9981 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 () * Number of clocked 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 (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.0003385/0.9395, allocations: 167.6 kB / 1.271 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.9397, allocations: 77.44 kB / 1.271 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9397, allocations: 0 / 1.271 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.525e-05/0.9398, allocations: 43.58 kB / 1.271 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.9402, allocations: 58.52 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.9407, allocations: 296.4 kB / 1.272 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.9409, allocations: 0.7138 MB / 1.272 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.9409, allocations: 22.02 kB / 1.272 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.9409, allocations: 0 / 1.272 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of Templates: time 0.005559/0.9465, allocations: 2.92 MB / 1.275 GB, free: 0.9336 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.012523685814813]