Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_10_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.00134/0.00134, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001461/0.001461, allocations: 194.7 kB / 16.14 MB, free: 6.57 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.553/0.5544, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002878/0.5573, allocations: 1.78 MB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.5583, allocations: 0.6241 MB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.5584, allocations: 4 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.5586, allocations: 15.86 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.5589, allocations: 87.66 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.5592, allocations: 135.8 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.5594, allocations: 207.4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.5596, allocations: 29.55 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.5597, allocations: 91.67 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02067/0.5804, allocations: 1.437 MB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.588e-05/0.5805, allocations: 12 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.5806, allocations: 20 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.5807, allocations: 35.78 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.5808, allocations: 83.61 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.5812, allocations: 183.4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5812, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5812, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.5812, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 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.0009246/0.5822, allocations: 0.5177 MB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5822, allocations: 19.95 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.5823, allocations: 34.75 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.5824, allocations: 20.75 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.5827, allocations: 240.2 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.5827, allocations: 12 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.5828, allocations: 12 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.583, allocations: 81.66 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.583, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.583, allocations: 7.875 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.583, allocations: 7.938 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.5831, allocations: 43.92 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/0.584, allocations: 436.5 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.5841, allocations: 70.48 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.5842, allocations: 28.84 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.5842, allocations: 7.984 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.5844, allocations: 91.38 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.5844, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0003224/0.5847, allocations: 133.5 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5848, allocations: 51.41 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.585, allocations: 199.1 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.585, allocations: 33.7 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.5851, allocations: 116 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.5851, allocations: 27.64 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.5852, allocations: 57.67 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5854, allocations: 322.8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.5854, allocations: 27.98 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.5857, allocations: 111.7 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.5858, allocations: 89.41 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5858, allocations: 4 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002337/0.5861, allocations: 137.5 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5861, allocations: 7.938 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5861, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5861, allocations: 4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.5862, allocations: 15.92 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5862, allocations: 4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.5864, allocations: 15.91 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.5864, allocations: 4 kB / 1.024 GB, free: 11.12 MB / 0.7794 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.0001351/0.5866, allocations: 145.8 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.5866, allocations: 19.75 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.5866, allocations: 17.39 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5866, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5867, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5867, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.5872, allocations: 438.2 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5872, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.5872, allocations: 7.984 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.5873, allocations: 4 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5873, allocations: 3.938 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5873, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5873, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.5875, allocations: 219.6 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.5876, allocations: 85.02 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.5876, allocations: 3.984 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.5877, allocations: 12 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.5878, allocations: 15.97 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.5878, allocations: 4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001138/0.5879, allocations: 137.2 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5879, allocations: 0 / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003086/0.5883, allocations: 39.91 kB / 1.025 GB, free: 9.898 MB / 0.7794 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.0007526/0.589, allocations: 0.8082 MB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.5892, allocations: 79.89 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5892, allocations: 0 / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.5893, allocations: 35.98 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.5898, allocations: 45.44 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.5918, allocations: 1.813 MB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.5921, allocations: 0.7202 MB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.164e-05/0.5922, allocations: 17.55 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.394e-05/0.5923, allocations: 47.41 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.5923, allocations: 0 / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.6075, allocations: 4.672 MB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.6078, allocations: 272.5 kB / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.65, allocations: 3.25 kB / 1.034 GB, free: 1.328 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches