Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 107 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.587/1.587, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.415/3.415, allocations: 0.505 GB / 0.8066 GB, free: 23.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 80.08 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3426, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003041/0.3457, allocations: 1.656 MB / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3468, allocations: 0.57 MB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.3469, allocations: 4 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.347, allocations: 27.73 kB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.3474, allocations: 119.4 kB / 1.35 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.3477, allocations: 142.5 kB / 1.35 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.348, allocations: 211.5 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3482, allocations: 21.48 kB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3483, allocations: 111.7 kB / 1.35 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01285/0.3611, allocations: 1.577 MB / 1.352 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.3612, allocations: 12 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.3614, allocations: 36 kB / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.3614, allocations: 39.89 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.3616, allocations: 83.52 kB / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.3621, allocations: 195.2 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3621, allocations: 3.984 kB / 1.352 GB, free: 5.578 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3621, allocations: 0 / 1.352 GB, free: 5.578 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3621, allocations: 0 / 1.352 GB, free: 5.578 MB / 1.045 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.0008589/0.3629, allocations: 0.5215 MB / 1.353 GB, free: 4.996 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.363, allocations: 15.98 kB / 1.353 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.363, allocations: 46.67 kB / 1.353 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.3631, allocations: 16.84 kB / 1.353 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.3634, allocations: 235.8 kB / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3634, allocations: 12 kB / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.3635, allocations: 11.94 kB / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3637, allocations: 87.89 kB / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3637, allocations: 0 / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3637, allocations: 4 kB / 1.353 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3637, allocations: 3.938 kB / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3638, allocations: 47.97 kB / 1.353 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008935/0.3647, allocations: 436.5 kB / 1.354 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3648, allocations: 62.5 kB / 1.354 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.3649, allocations: 32.78 kB / 1.354 GB, free: 3.891 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3649, allocations: 8 kB / 1.354 GB, free: 3.883 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.3652, allocations: 79.38 kB / 1.354 GB, free: 3.793 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 2.074e-06/0.3652, allocations: 0 / 1.354 GB, free: 3.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003383/0.3656, allocations: 137.6 kB / 1.354 GB, free: 3.652 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.3656, allocations: 59.33 kB / 1.354 GB, free: 3.582 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.3659, allocations: 188 kB / 1.354 GB, free: 3.387 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.3659, allocations: 37.7 kB / 1.354 GB, free: 3.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.366, allocations: 116.2 kB / 1.354 GB, free: 3.227 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.366, allocations: 23.84 kB / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.805e-05/0.3661, allocations: 49.69 kB / 1.355 GB, free: 3.148 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3663, allocations: 330.8 kB / 1.355 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.3663, allocations: 24 kB / 1.355 GB, free: 2.793 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.3666, allocations: 121.6 kB / 1.355 GB, free: 2.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3667, allocations: 92.16 kB / 1.355 GB, free: 2.543 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3667, allocations: 0 / 1.355 GB, free: 2.543 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002386/0.367, allocations: 136 kB / 1.355 GB, free: 2.406 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.367, allocations: 11.94 kB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.367, allocations: 0 / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.367, allocations: 4 kB / 1.355 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.3671, allocations: 15.94 kB / 1.355 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3671, allocations: 4 kB / 1.355 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3673, allocations: 23.88 kB / 1.355 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3673, allocations: 4 kB / 1.355 GB, free: 2.344 MB / 1.045 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.000141/0.3675, allocations: 141.9 kB / 1.355 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.3675, allocations: 19.84 kB / 1.355 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.3675, allocations: 13.41 kB / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3675, allocations: 0 / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3675, allocations: 0 / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3675, allocations: 0 / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.3681, allocations: 442.6 kB / 1.356 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3681, allocations: 7.938 kB / 1.356 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.3681, allocations: 4 kB / 1.356 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3681, allocations: 0 / 1.356 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3682, allocations: 7.984 kB / 1.356 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3682, allocations: 0 / 1.356 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3682, allocations: 0 / 1.356 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.3684, allocations: 215.3 kB / 1.356 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.3685, allocations: 89.02 kB / 1.356 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.3685, allocations: 0 / 1.356 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3686, allocations: 15.98 kB / 1.356 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.3687, allocations: 16.02 kB / 1.356 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.3687, allocations: 8 kB / 1.356 GB, free: 1.277 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001309/0.3688, allocations: 140.3 kB / 1.356 GB, free: 1.141 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3688, allocations: 0 / 1.356 GB, free: 1.141 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003092/0.3691, allocations: 39.89 kB / 1.356 GB, free: 1.102 MB / 1.045 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.0008476/0.37, allocations: 0.8043 MB / 1.357 GB, free: 296 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.3702, allocations: 71.92 kB / 1.357 GB, free: 224 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3702, allocations: 0 / 1.357 GB, free: 224 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.136e-05/0.3702, allocations: 31.98 kB / 1.357 GB, free: 192 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.3706, allocations: 55.36 kB / 1.357 GB, free: 144 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3728, allocations: 1.783 MB / 1.359 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3731, allocations: 0.7163 MB / 1.36 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.592e-05/0.3732, allocations: 25.47 kB / 1.36 GB, free: 13.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.3733, allocations: 47.41 kB / 1.36 GB, free: 13.44 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3733, allocations: 0 / 1.36 GB, free: 13.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.4048, allocations: 5.027 MB / 1.365 GB, free: 8.582 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/9.046, allocations: 4 kB / 1.365 GB, free: 8.578 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable plotConfiguration.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.29130057315342]