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.008503/0.008503, allocations: 103.7 kB / 15.74 MB, free: 6.035 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.001966/0.001966, allocations: 194.8 kB / 16.68 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.248/2.248, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 63.91 kB / 0.9504 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8596, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00301/0.8626, allocations: 1.63 MB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.8638, allocations: 0.5636 MB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.8639, allocations: 0.9688 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.8642, allocations: 30.38 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.8645, allocations: 108.6 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.8649, allocations: 153 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.8653, allocations: 213.5 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.8654, allocations: 28.45 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.8656, allocations: 98.66 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009121/0.8747, allocations: 1.567 MB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.696e-05/0.8748, allocations: 19.59 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.8749, allocations: 36.52 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.875, allocations: 39.34 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.8751, allocations: 83.06 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.8756, allocations: 194.8 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8756, allocations: 4 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8756, allocations: 0.7188 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.8756, allocations: 0 / 1.092 GB, free: 2.895 MB / 0.8575 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.0008635/0.8765, allocations: 0.522 MB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.8765, allocations: 9.031 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.8766, allocations: 40.3 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.8767, allocations: 18.25 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.877, allocations: 238.5 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.8771, allocations: 9.812 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.8771, allocations: 13.83 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.8773, allocations: 82.02 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.8774, allocations: 0.5625 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8774, allocations: 5.922 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8774, allocations: 1.875 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.8775, allocations: 45.69 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009063/0.8784, allocations: 438.3 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.8786, allocations: 75.14 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.8787, allocations: 33.55 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.8787, allocations: 1.219 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.8789, allocations: 87.33 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.8789, allocations: 0 / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003646/0.8793, allocations: 139.5 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.8794, allocations: 66.47 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.8796, allocations: 188.3 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.8796, allocations: 33.73 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.8797, allocations: 117.1 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.8798, allocations: 29.17 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.8799, allocations: 53.22 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.88, allocations: 322.7 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.88, allocations: 26.86 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.8803, allocations: 119.3 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.8804, allocations: 90.66 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.8804, allocations: 0 / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002702/0.8807, allocations: 137.2 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.8807, allocations: 9.797 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8808, allocations: 1.625 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.8808, allocations: 2.25 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.8809, allocations: 15.67 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.8809, allocations: 2.766 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.8811, allocations: 20.41 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.8811, allocations: 8.312 kB / 1.095 GB, free: 0.5352 MB / 0.8575 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.0001131/0.8812, allocations: 135.9 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.8813, allocations: 22.59 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.8813, allocations: 19.72 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8813, allocations: 1.656 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8813, allocations: 0 / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8814, allocations: 1.219 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.8819, allocations: 433 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8819, allocations: 0 / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.882, allocations: 8.344 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.882, allocations: 0.5312 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.882, allocations: 6.531 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.882, allocations: 0.625 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.882, allocations: 0.5 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.8822, allocations: 208.4 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.8823, allocations: 88.62 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.8823, allocations: 6.438 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.8824, allocations: 6.578 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.8825, allocations: 15.22 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.8826, allocations: 5.938 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001417/0.8827, allocations: 138.1 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.984e-06/0.8827, allocations: 0.5 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003467/0.8831, allocations: 39.52 kB / 1.096 GB, free: 15.64 MB / 0.8731 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.0007951/0.8839, allocations: 0.8196 MB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.8841, allocations: 77.8 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8842, allocations: 0 / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.8842, allocations: 48.05 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.8847, allocations: 52.72 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.887, allocations: 1.773 MB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.8873, allocations: 0.7161 MB / 1.099 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.8874, allocations: 18.61 kB / 1.099 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.316e-05/0.8875, allocations: 45.34 kB / 1.099 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.8875, allocations: 0 / 1.099 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.9163, allocations: 5.004 MB / 1.104 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/8.379, allocations: 6.5 kB / 1.104 GB, free: 11.99 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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