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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001347/0.001346, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001631/0.001631, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.528/1.528, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.84 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8417, allocations: 140.3 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003717/0.8455, allocations: 1.78 MB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.8465, allocations: 0.6207 MB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.672e-05/0.8466, allocations: 1.438 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.8469, allocations: 15.94 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.8472, allocations: 96.41 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.8475, allocations: 133.6 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.8477, allocations: 216.8 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.8479, allocations: 25.42 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.848, allocations: 100.3 kB / 0.952 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02028/0.8683, allocations: 1.557 MB / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.8684, allocations: 15.47 kB / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.8685, allocations: 42.55 kB / 0.9536 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.8686, allocations: 34.06 kB / 0.9536 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.8688, allocations: 92.55 kB / 0.9537 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.869, allocations: 191.2 kB / 0.9539 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.869, allocations: 0 / 0.9539 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8691, allocations: 0 / 0.9539 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.8691, allocations: 1.281 kB / 0.9539 GB, free: 6.074 MB / 0.7169 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.000713/0.8698, allocations: 0.5265 MB / 0.9544 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.8698, allocations: 9.125 kB / 0.9544 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.188e-05/0.8699, allocations: 22.75 kB / 0.9544 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.8702, allocations: 232.3 kB / 0.9546 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.8702, allocations: 10.16 kB / 0.9546 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.8702, allocations: 16.61 kB / 0.9547 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.8704, allocations: 79.77 kB / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8704, allocations: 0 / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.8705, allocations: 9.047 kB / 0.9547 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.8705, allocations: 2.281 kB / 0.9547 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/0.8706, allocations: 47.45 kB / 0.9548 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.8712, allocations: 438.7 kB / 0.9552 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.8714, allocations: 75.23 kB / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.8714, allocations: 33.42 kB / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.8715, allocations: 0 / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.8716, allocations: 84.03 kB / 0.9554 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.8716, allocations: 0 / 0.9554 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002687/0.8719, allocations: 141.4 kB / 0.9555 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.8719, allocations: 52.78 kB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.8721, allocations: 186.8 kB / 0.9558 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.8721, allocations: 33.2 kB / 0.9558 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.8722, allocations: 125.2 kB / 0.9559 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.8722, allocations: 27.39 kB / 0.9559 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.8723, allocations: 58.27 kB / 0.956 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.8723, allocations: 323.8 kB / 0.9563 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.8724, allocations: 26.17 kB / 0.9563 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.8726, allocations: 116.3 kB / 0.9564 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.8727, allocations: 84.44 kB / 0.9565 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8727, allocations: 4 kB / 0.9565 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001985/0.8729, allocations: 141.3 kB / 0.9566 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.873, allocations: 6 kB / 0.9567 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.873, allocations: 9.031 kB / 0.9567 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.873, allocations: 2.469 kB / 0.9567 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.8731, allocations: 13.81 kB / 0.9567 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.8731, allocations: 1.281 kB / 0.9567 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.8733, allocations: 22.36 kB / 0.9567 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.8733, allocations: 4 kB / 0.9567 GB, free: 3.508 MB / 0.7169 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.0001013/0.8734, allocations: 140.5 kB / 0.9568 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.8734, allocations: 16.75 kB / 0.9569 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.8735, allocations: 19.34 kB / 0.9569 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.8735, allocations: 1.906 kB / 0.9569 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8735, allocations: 0 / 0.9569 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.8735, allocations: 6.141 kB / 0.9569 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.8739, allocations: 432.8 kB / 0.9573 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8739, allocations: 1.406 kB / 0.9573 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.8739, allocations: 6.922 kB / 0.9573 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8739, allocations: 3.938 kB / 0.9573 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.8739, allocations: 5.406 kB / 0.9573 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.874, allocations: 1.188 kB / 0.9573 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.874, allocations: 0 / 0.9573 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.8741, allocations: 203.2 kB / 0.9575 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.8742, allocations: 88.98 kB / 0.9576 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.8742, allocations: 8.969 kB / 0.9576 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.8743, allocations: 12.39 kB / 0.9576 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.8743, allocations: 17.73 kB / 0.9576 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.8744, allocations: 9.297 kB / 0.9576 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.547e-05/0.8745, allocations: 136 kB / 0.9578 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8745, allocations: 0 / 0.9578 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002909/0.8748, allocations: 43.02 kB / 0.9578 GB, free: 2.516 MB / 0.7169 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.000319/0.8751, allocations: 175.4 kB / 0.958 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.8753, allocations: 82.78 kB / 0.9581 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8753, allocations: 0 / 0.9581 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.8754, allocations: 36.69 kB / 0.9581 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.8758, allocations: 55.11 kB / 0.9581 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.8763, allocations: 303.2 kB / 0.9584 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.8765, allocations: 0.724 MB / 0.9591 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.632e-05/0.8765, allocations: 20.78 kB / 0.9592 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.8766, allocations: 18.5 kB / 0.9592 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/0.8766, allocations: 3.938 kB / 0.9592 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of Templates: time 0.006608/0.8832, allocations: 3.195 MB / 0.9623 GB, free: 15.73 MB / 0.7325 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches