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.001333/0.001333, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001623/0.001623, allocations: 192 kB / 16.14 MB, free: 6.645 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.44/2.44, allocations: 390.2 MB / 0.6642 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 75.88 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7211, allocations: 140.4 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002929/0.7241, allocations: 1.768 MB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.7252, allocations: 0.6249 MB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.7253, allocations: 5.312 kB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.7255, allocations: 27.92 kB / 0.9513 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.7258, allocations: 81.8 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.7261, allocations: 140.5 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.7263, allocations: 207 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.7265, allocations: 21.12 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.7266, allocations: 91.3 kB / 0.9518 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0203/0.7469, allocations: 1.441 MB / 0.9532 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.747, allocations: 8.438 kB / 0.9532 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.7472, allocations: 26.62 kB / 0.9532 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.7472, allocations: 26.94 kB / 0.9533 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.7474, allocations: 88.12 kB / 0.9533 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.7476, allocations: 185.2 kB / 0.9535 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7476, allocations: 0 / 0.9535 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.143e-06/0.7476, allocations: 0 / 0.9535 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.7476, allocations: 1.312 kB / 0.9535 GB, free: 6.188 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.0006638/0.7483, allocations: 0.5261 MB / 0.954 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7483, allocations: 9.625 kB / 0.954 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.7484, allocations: 21.97 kB / 0.9541 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.7487, allocations: 232.6 kB / 0.9543 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.7487, allocations: 13.66 kB / 0.9543 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.7487, allocations: 14.28 kB / 0.9543 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.7489, allocations: 81.83 kB / 0.9544 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7489, allocations: 0 / 0.9544 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.7489, allocations: 1.156 kB / 0.9544 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7489, allocations: 1.188 kB / 0.9544 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.749, allocations: 48.5 kB / 0.9544 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.7497, allocations: 446.3 kB / 0.9549 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.7499, allocations: 64.5 kB / 0.9549 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.7499, allocations: 35.19 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.7499, allocations: 1.094 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.7501, allocations: 87.44 kB / 0.955 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.7501, allocations: 0 / 0.955 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002907/0.7504, allocations: 129.9 kB / 0.9552 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.7504, allocations: 62.14 kB / 0.9552 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.7506, allocations: 185.8 kB / 0.9554 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.7506, allocations: 37.95 kB / 0.9554 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.7507, allocations: 113.5 kB / 0.9556 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.7507, allocations: 35.42 kB / 0.9556 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.7508, allocations: 54.8 kB / 0.9556 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.7509, allocations: 326.6 kB / 0.9559 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.7509, allocations: 26.39 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.7511, allocations: 121.3 kB / 0.9561 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.7512, allocations: 81.45 kB / 0.9562 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7513, allocations: 0 / 0.9562 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002178/0.7515, allocations: 140.5 kB / 0.9563 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7515, allocations: 5.375 kB / 0.9563 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7515, allocations: 9.438 kB / 0.9563 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7515, allocations: 2.875 kB / 0.9563 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.7516, allocations: 21.83 kB / 0.9563 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.7516, allocations: 5.875 kB / 0.9563 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.7518, allocations: 20.95 kB / 0.9564 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.7518, allocations: 9.406 kB / 0.9564 GB, free: 3.617 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 9.964e-05/0.7519, allocations: 140.5 kB / 0.9565 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.752, allocations: 11.06 kB / 0.9565 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.752, allocations: 24.86 kB / 0.9565 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.752, allocations: 1.781 kB / 0.9565 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.752, allocations: 0 / 0.9565 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.752, allocations: 0 / 0.9565 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.7524, allocations: 431.1 kB / 0.957 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7525, allocations: 0 / 0.957 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.7525, allocations: 6.688 kB / 0.957 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7525, allocations: 1.375 kB / 0.957 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.7525, allocations: 1.375 kB / 0.957 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7525, allocations: 3.938 kB / 0.957 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7525, allocations: 1.375 kB / 0.957 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.7527, allocations: 202.6 kB / 0.9572 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.7527, allocations: 97.03 kB / 0.9573 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.7528, allocations: 1.375 kB / 0.9573 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.7529, allocations: 12.11 kB / 0.9573 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.7529, allocations: 10.86 kB / 0.9573 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.753, allocations: 8.125 kB / 0.9573 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001065/0.7531, allocations: 140 kB / 0.9574 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7531, allocations: 0 / 0.9574 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003208/0.7534, allocations: 34.56 kB / 0.9575 GB, free: 2.648 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.0003898/0.7538, allocations: 193.3 kB / 0.9576 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.754, allocations: 80.84 kB / 0.9577 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.754, allocations: 0 / 0.9577 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.7541, allocations: 39.83 kB / 0.9578 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.7546, allocations: 46.95 kB / 0.9578 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.7552, allocations: 312.8 kB / 0.9581 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.7554, allocations: 0.7165 MB / 0.9588 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.284e-05/0.7555, allocations: 17.86 kB / 0.9588 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.7555, allocations: 21.02 kB / 0.9588 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7555, allocations: 0 / 0.9588 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.006805/0.7624, allocations: 3.091 MB / 0.9618 GB, free: 15.91 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