Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00137/0.00137, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001587/0.001587, allocations: 213.8 kB / 22.24 MB, free: 5.242 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_12_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.002056/0.002056, allocations: 68.08 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3345, allocations: 176.1 MB / 1.325 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003228/0.3377, allocations: 1.618 MB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3389, allocations: 0.5734 MB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.3389, allocations: 0 / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.3391, allocations: 19.73 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.3394, allocations: 115.5 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.3398, allocations: 144.3 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.3401, allocations: 223.5 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3402, allocations: 17.73 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3403, allocations: 99.73 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01262/0.353, allocations: 1.58 MB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.772e-05/0.353, allocations: 16 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3532, allocations: 35.98 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.3533, allocations: 35.84 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.3534, allocations: 71.64 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.3538, allocations: 199.3 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3539, allocations: 4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3539, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3539, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 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.0009862/0.3549, allocations: 460.9 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.3549, allocations: 8.031 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.505e-05/0.355, allocations: 42.73 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.3551, allocations: 16.84 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.3554, allocations: 190.4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3554, allocations: 12 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.3555, allocations: 16 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.3557, allocations: 81.66 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3557, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3557, allocations: 4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.3557, allocations: 3.984 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3558, allocations: 47.91 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.3567, allocations: 375.7 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3569, allocations: 66.44 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.357, allocations: 28.84 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.357, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/0.3573, allocations: 95.25 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.3573, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0003534/0.3576, allocations: 141.6 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.3577, allocations: 51.41 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.3579, allocations: 187.3 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.358, allocations: 37.7 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3581, allocations: 120 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.47e-05/0.3581, allocations: 27.78 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.983e-05/0.3582, allocations: 49.69 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3584, allocations: 326.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.3584, allocations: 27.89 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.3587, allocations: 234.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.3589, allocations: 87.98 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3589, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002377/0.3591, allocations: 137.5 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3591, allocations: 7.938 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3591, allocations: 4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3592, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.3592, allocations: 19.92 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3592, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.3594, allocations: 23.94 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3594, allocations: 8.125 kB / 1.332 GB, free: 10.93 MB / 1.029 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.0001431/0.3596, allocations: 129.6 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3596, allocations: 19.84 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.3597, allocations: 21.33 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3597, allocations: 4 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3597, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3597, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.3602, allocations: 397.3 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3602, allocations: 0 / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.3603, allocations: 8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3603, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3603, allocations: 7.984 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3603, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3603, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.3605, allocations: 203.4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.3605, allocations: 15.84 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3605, allocations: 0 / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.3606, allocations: 15.98 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.3607, allocations: 15.91 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.3607, allocations: 15.94 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001689/0.3609, allocations: 136.1 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3609, allocations: 0 / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003188/0.3612, allocations: 35.94 kB / 1.333 GB, free: 9.844 MB / 1.029 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.001059/0.3623, allocations: 0.8102 MB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3625, allocations: 79.78 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3625, allocations: 0 / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.3626, allocations: 31.98 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.3631, allocations: 59.72 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3653, allocations: 1.783 MB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.3654, allocations: 98.27 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.412e-05/0.3655, allocations: 25.47 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.293e-05/0.3656, allocations: 43.36 kB / 1.336 GB, free: 6.797 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.3656, allocations: 4 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.4018, allocations: 5.854 MB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.57, allocations: 10.22 kB / 1.342 GB, free: 1.129 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.433751621749252]