Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.0008155/0.0008155, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009151/0.0009151, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8841/0.8841, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.365e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0013/0.001323, allocations: 0.6562 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007662/0.00209, allocations: 0.8315 MB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.002124, allocations: 4 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.002152, allocations: 3.938 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.002209, allocations: 0 / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.002393, allocations: 19.86 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.002464, allocations: 23.92 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.002553, allocations: 8 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.002623, allocations: 19.92 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.999e-05/0.002653, allocations: 0 / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.002669, allocations: 4 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.002709, allocations: 7.984 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.002724, allocations: 7.984 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.00274, allocations: 7.938 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.505e-05/0.002835, allocations: 23.91 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002837, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002838, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.002842, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003346/0.003177, allocations: 270.3 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.003214, allocations: 8.75 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.003244, allocations: 38.73 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.003312, allocations: 0.9375 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.911e-05/0.003391, allocations: 109.8 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.003403, allocations: 4.375 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.003411, allocations: 384 / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.003535, allocations: 50.23 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.003542, allocations: 192 / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.003549, allocations: 4.375 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.003555, allocations: 4.125 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.87e-05/0.003643, allocations: 39.89 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.003931, allocations: 216 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.562e-05/0.004017, allocations: 30.56 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.004065, allocations: 28.89 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.004081, allocations: 4 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.004098, allocations: 34.5 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.004099, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000212/0.004311, allocations: 85.58 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.004338, allocations: 51.41 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.004394, allocations: 101.9 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.004404, allocations: 25.7 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.004437, allocations: 88.06 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.004452, allocations: 8.078 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.004479, allocations: 17.72 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003291/0.004808, allocations: 310.8 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.004854, allocations: 11.98 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.004891, allocations: 23.97 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.004974, allocations: 44.77 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.004976, allocations: 8 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.005078, allocations: 65.59 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.005091, allocations: 8 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.005096, allocations: 0 / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.005107, allocations: 0 / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.005165, allocations: 7.984 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.005171, allocations: 4 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.005192, allocations: 0 / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.005197, allocations: 8.031 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.951e-05/0.005246, allocations: 109.8 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.005261, allocations: 11.92 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.005398, allocations: 76.86 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.0054, allocations: 0 / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.005404, allocations: 0 / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005407, allocations: 0 / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.005508, allocations: 124.8 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.005509, allocations: 4.031 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.005537, allocations: 8 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.00554, allocations: 7.922 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.005547, allocations: 0 / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.00555, allocations: 4 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005551, allocations: 0 / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.005675, allocations: 159.6 kB / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-06/0.005681, allocations: 3.938 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.005691, allocations: 8.016 kB / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.00573, allocations: 4 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.005762, allocations: 7.984 kB / 1.003 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.005766, allocations: 4 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.759e-05/0.005794, allocations: 79.28 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005794, allocations: 3.938 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001407/0.005934, allocations: 4 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003255/0.00626, allocations: 0.7006 MB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.006385, allocations: 35.91 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006387, allocations: 4 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.006426, allocations: 15.98 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.006671, allocations: 7.984 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.007017, allocations: 127.5 kB / 1.004 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.007059, allocations: 59.36 kB / 1.004 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.00708, allocations: 4 kB / 1.004 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.007114, allocations: 16.48 kB / 1.004 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.007115, allocations: 3.938 kB / 1.004 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.02464, allocations: 1.946 MB / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.866, allocations: 3.094 kB / 1.006 GB, free: 6.383 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable Exp1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv. Warning: Get data of variable Exp1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.08725461550057]