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.001632/0.001632, allocations: 108.1 kB / 16.46 MB, free: 6.457 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.001975/0.001975, allocations: 212.3 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.507/1.507, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002052/0.002052, allocations: 75.88 kB / 1.112 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7792, allocations: 169.9 MB / 1.278 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002107/0.7813, allocations: 0.6798 MB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.7825, allocations: 0.8433 MB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.7826, allocations: 3.938 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.7826, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.7827, allocations: 3.938 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.7829, allocations: 11.98 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.09e-05/0.783, allocations: 35.84 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.471e-05/0.783, allocations: 4 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.7831, allocations: 11.98 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.7832, allocations: 7.938 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.7832, allocations: 0 / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.878e-05/0.7832, allocations: 8 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.7832, allocations: 3.984 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.7833, allocations: 11.94 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.7834, allocations: 25.72 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7834, allocations: 0 / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7834, allocations: 0 / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.7834, allocations: 8 kB / 1.28 GB, free: 11.7 MB / 0.9825 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.0005456/0.784, allocations: 343.3 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.784, allocations: 8.031 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.7841, allocations: 34.73 kB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.7841, allocations: 4.938 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.7843, allocations: 168.3 kB / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.7843, allocations: 4.375 kB / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.7843, allocations: 384 / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.7845, allocations: 54.23 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7845, allocations: 3.938 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.7845, allocations: 0 / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.7845, allocations: 0 / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.7847, allocations: 35.95 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.7851, allocations: 244.9 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.7852, allocations: 46.44 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.7853, allocations: 20.89 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.7853, allocations: 0 / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.7854, allocations: 34.56 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7854, allocations: 4 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004153/0.7858, allocations: 81.62 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.7858, allocations: 55.34 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.7859, allocations: 101.9 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.7859, allocations: 25.7 kB / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.786, allocations: 84.12 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.786, allocations: 7.953 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.786, allocations: 17.84 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.7862, allocations: 310.8 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.114e-05/0.7863, allocations: 15.98 kB / 1.282 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.7864, allocations: 19.97 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.7865, allocations: 32.83 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.7865, allocations: 12 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.7867, allocations: 69.59 kB / 1.282 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7868, allocations: 10.03 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.7868, allocations: 0 / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7868, allocations: 0 / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.7869, allocations: 7.984 kB / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7869, allocations: 0 / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.7869, allocations: 7.969 kB / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.7869, allocations: 8 kB / 1.282 GB, free: 9.625 MB / 0.9825 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 8.548e-05/0.787, allocations: 113.7 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.787, allocations: 7.938 kB / 1.282 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.7873, allocations: 72.78 kB / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.7873, allocations: 0 / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7873, allocations: 0 / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.7873, allocations: 4.031 kB / 1.282 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.7875, allocations: 161.5 kB / 1.282 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7875, allocations: 4 kB / 1.282 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.7875, allocations: 11.98 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7875, allocations: 0 / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.7876, allocations: 0 / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7876, allocations: 0 / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7876, allocations: 0 / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.7878, allocations: 167.5 kB / 1.282 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.7879, allocations: 81.05 kB / 1.282 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.7879, allocations: 4 kB / 1.282 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.788, allocations: 7.984 kB / 1.282 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.788, allocations: 0 / 1.282 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.788, allocations: 0 / 1.282 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.7881, allocations: 87.27 kB / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.7881, allocations: 32 / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002112/0.7883, allocations: 8 kB / 1.282 GB, free: 8.805 MB / 0.9825 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.0005855/0.7889, allocations: 0.6972 MB / 1.283 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.7891, allocations: 43.98 kB / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.7891, allocations: 0 / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.925e-05/0.7892, allocations: 19.92 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.7894, allocations: 4 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.7899, allocations: 127.2 kB / 1.283 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.7902, allocations: 0.6846 MB / 1.284 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.954e-05/0.7902, allocations: 4 kB / 1.284 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.7903, allocations: 7.438 kB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.7903, allocations: 0 / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.813, allocations: 1.289 MB / 1.285 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/9.069, allocations: 3.281 kB / 1.285 GB, free: 5.922 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.146214823005721]