Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008146/0.0008146, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00082/0.00082, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8741/0.8741, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.64/1.64, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.502e-05, allocations: 9.031 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001378/0.001403, allocations: 0.66 MB / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.002187, allocations: 0.8431 MB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.002219, allocations: 0 / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.002244, allocations: 4 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.0023, allocations: 0 / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.002478, allocations: 15.92 kB / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.002555, allocations: 23.92 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.002642, allocations: 0 / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/0.002706, allocations: 15.92 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.103e-05/0.002737, allocations: 11.98 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.002753, allocations: 8 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.379e-05/0.002797, allocations: 4 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.002813, allocations: 3.984 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.002829, allocations: 4 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.002928, allocations: 27.91 kB / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.00293, allocations: 0 / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.273e-06/0.002931, allocations: 0 / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.002936, allocations: 0 / 0.9522 GB, free: 1.793 MB / 0.9011 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.0003729/0.003309, allocations: 266.3 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.003351, allocations: 8.031 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.003382, allocations: 34.75 kB / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.811e-05/0.003461, allocations: 12.88 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.109e-05/0.003542, allocations: 113.7 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.003551, allocations: 4.312 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.00356, allocations: 384 / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.003689, allocations: 50.23 kB / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.003696, allocations: 192 / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.003704, allocations: 384 / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003709, allocations: 4.125 kB / 0.9526 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.0038, allocations: 43.94 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.004084, allocations: 208.1 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.004164, allocations: 38.5 kB / 0.9529 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.004212, allocations: 28.89 kB / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.004232, allocations: 0 / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.004255, allocations: 34.5 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.004256, allocations: 0 / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002191/0.004475, allocations: 81.64 kB / 0.953 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.004503, allocations: 59.34 kB / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.309e-05/0.004556, allocations: 93.86 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.004567, allocations: 29.7 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.004602, allocations: 92.08 kB / 0.9533 GB, free: 452 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.004615, allocations: 0 / 0.9533 GB, free: 452 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.004638, allocations: 17.66 kB / 0.9533 GB, free: 428 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.004714, allocations: 314.8 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.004754, allocations: 20.11 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.004789, allocations: 23.97 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.298e-05/0.004862, allocations: 32.83 kB / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.004865, allocations: 4 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.004974, allocations: 73.81 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.004989, allocations: 14.12 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004994, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.005006, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.005063, allocations: 7.984 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.005068, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.005089, allocations: 4 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.005094, allocations: 4 kB / 0.9538 GB, free: 15.91 MB / 0.9167 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 5.153e-05/0.005146, allocations: 109.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.00516, allocations: 15.95 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.005297, allocations: 68.97 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.005299, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.005303, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005305, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.514e-05/0.0054, allocations: 124.8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.005401, allocations: 0 / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.005425, allocations: 11.94 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.00543, allocations: 11.86 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.005437, allocations: 4.031 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.005438, allocations: 0 / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.00544, allocations: 0 / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.005571, allocations: 163.5 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.005578, allocations: 3.953 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.00559, allocations: 3.938 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.622e-05/0.005626, allocations: 4 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.005662, allocations: 3.984 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.005665, allocations: 8.031 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.005695, allocations: 79.28 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005695, allocations: 4 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001465/0.005842, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 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.0003242/0.006166, allocations: 0.6967 MB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.006315, allocations: 47.98 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.006317, allocations: 0 / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.006355, allocations: 15.92 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.006589, allocations: 7.984 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.006911, allocations: 130.5 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.006954, allocations: 55.36 kB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.006974, allocations: 4.125 kB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.007009, allocations: 16.48 kB / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.007009, allocations: 0 / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.0219, allocations: 1.942 MB / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/6.751, allocations: 2.625 kB / 0.9572 GB, free: 12.36 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv. Warning: Get data of variable Exp1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.702131975442171]