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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.229/2.229, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6243/0.6259, allocations: 140.3 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002639/0.6286, allocations: 1.623 MB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008943/0.6295, allocations: 0.5724 MB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.6296, allocations: 1.406 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.6298, allocations: 29.22 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.6301, allocations: 105.5 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.6304, allocations: 154.2 kB / 0.9521 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.6306, allocations: 220.2 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.6307, allocations: 25.52 kB / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.518e-05/0.6308, allocations: 104.4 kB / 0.9525 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008689/0.6395, allocations: 1.552 MB / 0.954 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.6396, allocations: 14.88 kB / 0.954 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.6397, allocations: 38.88 kB / 0.954 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.6398, allocations: 30.81 kB / 0.9541 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.6399, allocations: 87.36 kB / 0.9541 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.6402, allocations: 191.2 kB / 0.9543 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6402, allocations: 0 / 0.9543 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6402, allocations: 1.219 kB / 0.9543 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.6402, allocations: 0 / 0.9543 GB, free: 6.238 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.0005915/0.6408, allocations: 0.526 MB / 0.9548 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.6408, allocations: 13.91 kB / 0.9548 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.6409, allocations: 37.53 kB / 0.9549 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.6409, allocations: 18.44 kB / 0.9549 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.6411, allocations: 241.5 kB / 0.9551 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.6412, allocations: 9.438 kB / 0.9551 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.6412, allocations: 9.281 kB / 0.9551 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.6413, allocations: 87.28 kB / 0.9552 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6414, allocations: 1.188 kB / 0.9552 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.6414, allocations: 0 / 0.9552 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6414, allocations: 6.531 kB / 0.9552 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.6415, allocations: 47.44 kB / 0.9553 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.6421, allocations: 448.8 kB / 0.9557 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.6422, allocations: 63.22 kB / 0.9558 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.6423, allocations: 30.78 kB / 0.9558 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.6423, allocations: 0 / 0.9558 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.6424, allocations: 87.69 kB / 0.9559 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.552e-06/0.6424, allocations: 0 / 0.9559 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002578/0.6427, allocations: 137.8 kB / 0.956 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.6427, allocations: 57.69 kB / 0.9561 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.6429, allocations: 195.5 kB / 0.9563 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.6429, allocations: 37.2 kB / 0.9563 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.643, allocations: 113 kB / 0.9564 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.643, allocations: 27.23 kB / 0.9564 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.6431, allocations: 62.42 kB / 0.9565 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.6431, allocations: 326.8 kB / 0.9568 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.6432, allocations: 26.45 kB / 0.9568 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.6433, allocations: 116.8 kB / 0.9569 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.406e-05/0.6435, allocations: 87.84 kB / 0.957 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6435, allocations: 0 / 0.957 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001891/0.6437, allocations: 136.7 kB / 0.9571 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6437, allocations: 9.5 kB / 0.9572 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6437, allocations: 1.125 kB / 0.9572 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6437, allocations: 2.562 kB / 0.9572 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.6438, allocations: 17.7 kB / 0.9572 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6438, allocations: 2.375 kB / 0.9572 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.644, allocations: 21.12 kB / 0.9572 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.644, allocations: 12.02 kB / 0.9572 GB, free: 3.613 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 8.828e-05/0.6441, allocations: 137.6 kB / 0.9573 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.6441, allocations: 15.5 kB / 0.9574 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.6442, allocations: 16.27 kB / 0.9574 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6442, allocations: 6 kB / 0.9574 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6442, allocations: 0 / 0.9574 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6442, allocations: 0 / 0.9574 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.6446, allocations: 434.9 kB / 0.9578 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6446, allocations: 5.047 kB / 0.9578 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.6446, allocations: 2.219 kB / 0.9578 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6446, allocations: 1.125 kB / 0.9578 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.6446, allocations: 1.125 kB / 0.9578 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6446, allocations: 1.125 kB / 0.9578 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6446, allocations: 0 / 0.9578 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.6448, allocations: 214.6 kB / 0.958 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.6448, allocations: 92.75 kB / 0.9581 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.6449, allocations: 1.312 kB / 0.9581 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.225e-05/0.645, allocations: 7.844 kB / 0.9581 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.645, allocations: 14.69 kB / 0.9581 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.645, allocations: 9.188 kB / 0.9581 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.6451, allocations: 139.4 kB / 0.9583 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6451, allocations: 0 / 0.9583 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000283/0.6454, allocations: 40.16 kB / 0.9583 GB, free: 2.637 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.0004887/0.6459, allocations: 0.8061 MB / 0.9591 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.6461, allocations: 86.78 kB / 0.9592 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6461, allocations: 1.062 kB / 0.9592 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-05/0.6462, allocations: 51.34 kB / 0.9592 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.6466, allocations: 50.98 kB / 0.9593 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.648, allocations: 1.764 MB / 0.961 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.6482, allocations: 0.7164 MB / 0.9617 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.669e-05/0.6483, allocations: 20.86 kB / 0.9617 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.6483, allocations: 46.81 kB / 0.9618 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.6484, allocations: 0 / 0.9618 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.6689, allocations: 4.952 MB / 0.9666 GB, free: 13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.974, allocations: 4.469 kB / 0.9666 GB, free: 13 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > 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