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.001331/0.001332, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001266/0.001267, allocations: 188.7 kB / 17.19 MB, free: 5.508 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.233/2.233, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 60.22 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3131, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003071/0.3162, allocations: 1.614 MB / 0.9518 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3173, allocations: 0.5733 MB / 0.9524 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.3174, allocations: 3.938 kB / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.3176, allocations: 23.8 kB / 0.9524 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.3179, allocations: 107.5 kB / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.3183, allocations: 147.7 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.3185, allocations: 219.4 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3186, allocations: 29.53 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.3188, allocations: 99.73 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009296/0.3281, allocations: 1.56 MB / 0.9545 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.3281, allocations: 16 kB / 0.9545 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3283, allocations: 35.98 kB / 0.9546 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.3284, allocations: 39.84 kB / 0.9546 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.3285, allocations: 79.56 kB / 0.9547 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.3289, allocations: 191.5 kB / 0.9549 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3289, allocations: 0 / 0.9549 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3289, allocations: 0 / 0.9549 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3289, allocations: 3.938 kB / 0.9549 GB, free: 4.574 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.0008009/0.3297, allocations: 0.5293 MB / 0.9554 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3298, allocations: 8.031 kB / 0.9554 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.969e-05/0.3299, allocations: 20.75 kB / 0.9554 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.3302, allocations: 236.5 kB / 0.9556 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3302, allocations: 11.94 kB / 0.9557 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.3303, allocations: 15.98 kB / 0.9557 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3304, allocations: 77.66 kB / 0.9557 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.3304, allocations: 0 / 0.9557 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3305, allocations: 8 kB / 0.9558 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3305, allocations: 0 / 0.9558 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3306, allocations: 47.91 kB / 0.9558 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000903/0.3315, allocations: 444.3 kB / 0.9562 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.3317, allocations: 74.48 kB / 0.9563 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.3317, allocations: 28.86 kB / 0.9563 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.3317, allocations: 0 / 0.9563 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.332, allocations: 83.38 kB / 0.9564 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.332, allocations: 0 / 0.9564 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.000309/0.3323, allocations: 141.5 kB / 0.9565 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3324, allocations: 59.41 kB / 0.9566 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3326, allocations: 183 kB / 0.9568 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.3326, allocations: 29.7 kB / 0.9568 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.3327, allocations: 127.9 kB / 0.9569 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.3328, allocations: 27.78 kB / 0.9569 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.3328, allocations: 53.67 kB / 0.957 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.333, allocations: 322.8 kB / 0.9573 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.3331, allocations: 27.98 kB / 0.9573 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.3333, allocations: 115.7 kB / 0.9574 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3334, allocations: 88.22 kB / 0.9575 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3334, allocations: 4 kB / 0.9575 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002355/0.3337, allocations: 136.9 kB / 0.9577 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3337, allocations: 4 kB / 0.9577 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3337, allocations: 7.938 kB / 0.9577 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3337, allocations: 0 / 0.9577 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.3338, allocations: 15.94 kB / 0.9577 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.3338, allocations: 128 / 0.9577 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.334, allocations: 27.83 kB / 0.9577 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.3341, allocations: 8 kB / 0.9577 GB, free: 1.379 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.0001307/0.3342, allocations: 133.3 kB / 0.9578 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.3342, allocations: 23.69 kB / 0.9579 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.3343, allocations: 21.34 kB / 0.9579 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3343, allocations: 0 / 0.9579 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3343, allocations: 4 kB / 0.9579 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3343, allocations: 3.984 kB / 0.9579 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.3348, allocations: 430.3 kB / 0.9583 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3348, allocations: 0 / 0.9583 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.3349, allocations: 4 kB / 0.9583 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3349, allocations: 3.984 kB / 0.9583 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3349, allocations: 4 kB / 0.9583 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3349, allocations: 0 / 0.9583 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3349, allocations: 0 / 0.9583 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.3351, allocations: 211.3 kB / 0.9585 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.3352, allocations: 92.86 kB / 0.9586 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.3352, allocations: 8 kB / 0.9586 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3353, allocations: 7.984 kB / 0.9586 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.3354, allocations: 11.98 kB / 0.9586 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.3354, allocations: 7.984 kB / 0.9586 GB, free: 344 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000126/0.3355, allocations: 137.2 kB / 0.9588 GB, free: 208 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3356, allocations: 4 kB / 0.9588 GB, free: 204 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003112/0.3359, allocations: 43.98 kB / 0.9588 GB, free: 160 kB / 0.7325 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.0003524/0.3362, allocations: 167.1 kB / 0.959 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.3365, allocations: 91.91 kB / 0.9591 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3365, allocations: 0 / 0.9591 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.054e-05/0.3366, allocations: 35.98 kB / 0.9591 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.337, allocations: 56.02 kB / 0.9592 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.3376, allocations: 296.5 kB / 0.9594 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3379, allocations: 0.72 MB / 0.9601 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.338, allocations: 23.42 kB / 0.9602 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.338, allocations: 0 / 0.9602 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of Templates: time 0.005429/0.3434, allocations: 2.918 MB / 0.963 GB, free: 11.84 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 -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