Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 113.2 kB / 16.37 MB, free: 6.004 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.001217/0.001218, allocations: 196 kB / 17.31 MB, free: 5.613 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.39 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2356, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003086/0.2387, allocations: 1.636 MB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2398, allocations: 0.5732 MB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.24, allocations: 7.938 kB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.2402, allocations: 19.8 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.2406, allocations: 115.4 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.241, allocations: 147.7 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.2412, allocations: 211.5 kB / 0.9537 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2414, allocations: 33.47 kB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2415, allocations: 95.75 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009003/0.2505, allocations: 1.57 MB / 0.9554 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.2505, allocations: 20 kB / 0.9554 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.2507, allocations: 35.98 kB / 0.9555 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.2507, allocations: 31.84 kB / 0.9555 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2508, allocations: 87.5 kB / 0.9556 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.2512, allocations: 195.4 kB / 0.9558 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2512, allocations: 0 / 0.9558 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2512, allocations: 0 / 0.9558 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2512, allocations: 0 / 0.9558 GB, free: 3.684 MB / 0.7325 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.0006865/0.2519, allocations: 0.5215 MB / 0.9563 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2519, allocations: 12.03 kB / 0.9563 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.252, allocations: 16.75 kB / 0.9563 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.2523, allocations: 236.5 kB / 0.9565 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.2523, allocations: 15.94 kB / 0.9565 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.2523, allocations: 8 kB / 0.9565 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.2525, allocations: 88.27 kB / 0.9566 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.2525, allocations: 0 / 0.9566 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2525, allocations: 4 kB / 0.9566 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.2526, allocations: 4 kB / 0.9566 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.2526, allocations: 43.97 kB / 0.9567 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.2534, allocations: 436.4 kB / 0.9571 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.2535, allocations: 74.47 kB / 0.9572 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.2536, allocations: 36.84 kB / 0.9572 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.2536, allocations: 0 / 0.9572 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.2538, allocations: 91.31 kB / 0.9573 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.2538, allocations: 0 / 0.9573 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0003064/0.2541, allocations: 133.5 kB / 0.9574 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.2542, allocations: 55.41 kB / 0.9575 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.2544, allocations: 191.2 kB / 0.9576 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.2544, allocations: 33.7 kB / 0.9577 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.2545, allocations: 119.9 kB / 0.9578 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.2545, allocations: 23.8 kB / 0.9578 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.715e-05/0.2546, allocations: 53.67 kB / 0.9579 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2547, allocations: 326.8 kB / 0.9582 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.2548, allocations: 27.98 kB / 0.9582 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.255, allocations: 119.6 kB / 0.9583 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.2552, allocations: 84.23 kB / 0.9584 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2552, allocations: 4 kB / 0.9584 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002037/0.2554, allocations: 129.4 kB / 0.9585 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2554, allocations: 5.406 kB / 0.9585 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2554, allocations: 7.938 kB / 0.9585 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2554, allocations: 0 / 0.9585 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.2555, allocations: 23.86 kB / 0.9586 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2555, allocations: 0 / 0.9586 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.2557, allocations: 27.83 kB / 0.9586 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.2557, allocations: 8.125 kB / 0.9586 GB, free: 0.4922 MB / 0.7325 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 0.0001056/0.2558, allocations: 137.8 kB / 0.9587 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.2559, allocations: 11.81 kB / 0.9587 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.2559, allocations: 21.33 kB / 0.9588 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2559, allocations: 4 kB / 0.9588 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2559, allocations: 4 kB / 0.9588 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2559, allocations: 0 / 0.9588 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.2564, allocations: 442.4 kB / 0.9592 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2564, allocations: 0 / 0.9592 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.2564, allocations: 4 kB / 0.9592 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2564, allocations: 0 / 0.9592 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2565, allocations: 0 / 0.9592 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2565, allocations: 0 / 0.9592 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2565, allocations: 0 / 0.9592 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2567, allocations: 207.2 kB / 0.9594 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.2567, allocations: 96.88 kB / 0.9595 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.2567, allocations: 8 kB / 0.9595 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2569, allocations: 11.98 kB / 0.9595 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.2569, allocations: 7.984 kB / 0.9595 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.2569, allocations: 4 kB / 0.9595 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001075/0.2571, allocations: 145.1 kB / 0.9597 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2571, allocations: 0 / 0.9597 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000292/0.2574, allocations: 43.91 kB / 0.9597 GB, free: 15.27 MB / 0.7481 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.0003298/0.2577, allocations: 169.7 kB / 0.9599 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.2579, allocations: 75.91 kB / 0.9599 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2579, allocations: 0 / 0.9599 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.258, allocations: 39.92 kB / 0.96 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.2584, allocations: 51.64 kB / 0.96 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.2589, allocations: 278.9 kB / 0.9603 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2591, allocations: 0.7242 MB / 0.961 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.027e-05/0.2592, allocations: 17.53 kB / 0.961 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.2593, allocations: 23.42 kB / 0.961 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2593, allocations: 0 / 0.961 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of Templates: time 0.006345/0.2656, allocations: 3.276 MB / 0.9642 GB, free: 10.62 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches