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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.01027/0.01027, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.002152/0.002152, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001648, allocations: 63.91 kB / 1.018 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3436, allocations: 151.6 MB / 1.166 GB, free: 7.477 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003273/0.3469, allocations: 1.626 MB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3481, allocations: 0.5655 MB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3482, allocations: 0 / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.3484, allocations: 39.7 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.3488, allocations: 103.5 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.3493, allocations: 151.1 kB / 1.169 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.3496, allocations: 227.4 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3497, allocations: 21.56 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3498, allocations: 99.72 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009522/0.3594, allocations: 1.574 MB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/0.3595, allocations: 16 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.3596, allocations: 31.98 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.3597, allocations: 35.84 kB / 1.171 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3598, allocations: 87.56 kB / 1.171 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.3602, allocations: 199.2 kB / 1.171 GB, free: 3.105 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3602, allocations: 4 kB / 1.171 GB, free: 3.102 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3602, allocations: 0 / 1.171 GB, free: 3.102 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3603, allocations: 0 / 1.171 GB, free: 3.102 MB / 0.92 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.0007847/0.361, allocations: 0.5253 MB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.3611, allocations: 8.031 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.3612, allocations: 42.75 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.3612, allocations: 20.83 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3615, allocations: 239.8 kB / 1.172 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3616, allocations: 4 kB / 1.172 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.3616, allocations: 12 kB / 1.172 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.3618, allocations: 81.66 kB / 1.172 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3618, allocations: 0 / 1.172 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3618, allocations: 4 kB / 1.172 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3618, allocations: 4 kB / 1.172 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.3619, allocations: 43.97 kB / 1.172 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.3627, allocations: 444.4 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.3629, allocations: 66.56 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.363, allocations: 32.97 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.363, allocations: 4 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.3632, allocations: 83.38 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.3632, allocations: 0 / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0003164/0.3635, allocations: 141.7 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3635, allocations: 55.39 kB / 1.173 GB, free: 1.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3637, allocations: 195 kB / 1.173 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.3638, allocations: 29.7 kB / 1.173 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.3639, allocations: 124.2 kB / 1.173 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3639, allocations: 27.83 kB / 1.173 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.364, allocations: 49.69 kB / 1.173 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3641, allocations: 326.8 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.3642, allocations: 27.98 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.3644, allocations: 115.7 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3646, allocations: 83.73 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3646, allocations: 0 / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002405/0.3648, allocations: 137.5 kB / 1.174 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3648, allocations: 14.75 kB / 1.174 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3649, allocations: 0 / 1.174 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3649, allocations: 7.938 kB / 1.174 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.365, allocations: 19.92 kB / 1.174 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.365, allocations: 7.938 kB / 1.174 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.3652, allocations: 23.92 kB / 1.174 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3652, allocations: 7.984 kB / 1.174 GB, free: 15.86 MB / 0.9356 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.0001212/0.3654, allocations: 133.8 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.3654, allocations: 19.84 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.3654, allocations: 21.39 kB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3654, allocations: 0 / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3655, allocations: 0 / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3655, allocations: 0 / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.366, allocations: 434.2 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.366, allocations: 0 / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.366, allocations: 11.94 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.366, allocations: 0 / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3661, allocations: 8 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3661, allocations: 0 / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3661, allocations: 0 / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3663, allocations: 211.2 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.3663, allocations: 89.06 kB / 1.175 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.3664, allocations: 0 / 1.175 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3665, allocations: 11.98 kB / 1.175 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.3665, allocations: 15.98 kB / 1.175 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3666, allocations: 4 kB / 1.175 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001153/0.3667, allocations: 132.1 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3667, allocations: 4 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003142/0.367, allocations: 43.89 kB / 1.175 GB, free: 14.64 MB / 0.9356 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.0007592/0.3678, allocations: 0.81 MB / 1.176 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.368, allocations: 75.91 kB / 1.176 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.368, allocations: 0 / 1.176 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.995e-05/0.3681, allocations: 51.78 kB / 1.176 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3686, allocations: 41.78 kB / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3706, allocations: 1.791 MB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.371, allocations: 0.7163 MB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.364e-05/0.371, allocations: 13.55 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.3711, allocations: 47.41 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.3711, allocations: 0 / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.3966, allocations: 5.019 MB / 1.183 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.28, allocations: 14.56 kB / 1.183 GB, free: 6.09 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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