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.00478/0.00478, allocations: 100.2 kB / 15.73 MB, free: 6.496 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.001242/0.001242, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 66.41 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3115, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003375/0.3149, allocations: 1.626 MB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3162, allocations: 0.5708 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3164, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.3166, allocations: 27.73 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.3171, allocations: 115.5 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.3176, allocations: 143.7 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.3179, allocations: 219.5 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3181, allocations: 25.53 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.3183, allocations: 99.73 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009289/0.3276, allocations: 1.572 MB / 1.092 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.872e-05/0.3277, allocations: 20 kB / 1.092 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3278, allocations: 39.98 kB / 1.092 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.3279, allocations: 27.91 kB / 1.092 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.328, allocations: 83.56 kB / 1.092 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.3285, allocations: 203.2 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3285, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3285, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3285, allocations: 0 / 1.092 GB, free: 13.68 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.0008587/0.3294, allocations: 0.5176 MB / 1.093 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3294, allocations: 12.03 kB / 1.093 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.3295, allocations: 38.73 kB / 1.093 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.017e-05/0.3296, allocations: 20.84 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3299, allocations: 248.2 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.3299, allocations: 15.98 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.33, allocations: 12 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.3302, allocations: 77.67 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3303, allocations: 0 / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3303, allocations: 7.984 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3303, allocations: 4 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.947e-05/0.3304, allocations: 39.98 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008209/0.3312, allocations: 444.4 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.3314, allocations: 74.48 kB / 1.094 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.3314, allocations: 28.84 kB / 1.094 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3315, allocations: 4.188 kB / 1.094 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.3317, allocations: 91.31 kB / 1.094 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.3317, allocations: 0 / 1.094 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003152/0.332, allocations: 125.5 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3321, allocations: 55.34 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3323, allocations: 191.2 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.3324, allocations: 37.69 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.3325, allocations: 116.2 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.3325, allocations: 27.81 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/0.3326, allocations: 61.59 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3327, allocations: 330.8 kB / 1.095 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.3328, allocations: 23.98 kB / 1.095 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.333, allocations: 111.7 kB / 1.095 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3332, allocations: 92.22 kB / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3332, allocations: 0 / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003201/0.3335, allocations: 137.5 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3335, allocations: 7.938 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3335, allocations: 3.984 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3336, allocations: 4 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.3337, allocations: 11.98 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3337, allocations: 7.938 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3339, allocations: 20.02 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3339, allocations: 8 kB / 1.095 GB, free: 10.43 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.0001896/0.3341, allocations: 137.8 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3341, allocations: 19.84 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.3342, allocations: 17.39 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3342, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3342, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3342, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.3348, allocations: 442.2 kB / 1.096 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3348, allocations: 0 / 1.096 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.3348, allocations: 7.922 kB / 1.096 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3348, allocations: 4 kB / 1.096 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3348, allocations: 0 / 1.096 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3348, allocations: 4 kB / 1.096 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3349, allocations: 0 / 1.096 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.3351, allocations: 207.3 kB / 1.096 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.3351, allocations: 93.02 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.3352, allocations: 3.984 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.3353, allocations: 8 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.3353, allocations: 11.98 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3354, allocations: 11.98 kB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001191/0.3355, allocations: 137.2 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3355, allocations: 0 / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003119/0.3358, allocations: 39.92 kB / 1.096 GB, free: 9.211 MB / 0.8575 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.0007564/0.3366, allocations: 0.8135 MB / 1.097 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.3368, allocations: 75.91 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3368, allocations: 0 / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.3369, allocations: 39.92 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.3373, allocations: 48.47 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.3394, allocations: 1.778 MB / 1.099 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.3398, allocations: 0.7163 MB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.786e-05/0.3399, allocations: 29.45 kB / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.34, allocations: 43.42 kB / 1.1 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.34, allocations: 0 / 1.1 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.3642, allocations: 5.014 MB / 1.104 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/7.999, allocations: 4 kB / 1.104 GB, free: 0.6484 MB / 0.8575 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