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.001751/0.001751, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001617/0.001617, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 8.008 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.826/2.826, allocations: 476.7 MB / 0.7707 GB, free: 4.289 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.002045/0.002045, allocations: 66.73 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3016, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001841/0.3034, allocations: 0.6837 MB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3044, allocations: 0.8511 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.3045, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.3045, allocations: 3.938 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.3045, allocations: 3.938 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.3047, allocations: 15.92 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.45e-05/0.3048, allocations: 23.92 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.453e-05/0.3048, allocations: 4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.3049, allocations: 12 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.3049, allocations: 11.92 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3049, allocations: 4 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.655e-05/0.305, allocations: 4 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.305, allocations: 3.984 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.305, allocations: 15.92 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3051, allocations: 31.42 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3051, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3051, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3051, allocations: 0 / 1.285 GB, free: 10.05 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.0004186/0.3055, allocations: 266.3 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3056, allocations: 8.031 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.3056, allocations: 30.75 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.3057, allocations: 4.938 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.3058, allocations: 110.5 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3058, allocations: 384 / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.3058, allocations: 384 / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.306, allocations: 50.19 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.306, allocations: 11.92 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-06/0.306, allocations: 0 / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.306, allocations: 0 / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.3062, allocations: 35.91 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.3065, allocations: 219.9 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3066, allocations: 50.47 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.3067, allocations: 20.91 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3067, allocations: 0 / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3067, allocations: 34.56 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3067, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003383/0.3071, allocations: 85.73 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.3071, allocations: 51.41 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.3072, allocations: 101.8 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3072, allocations: 29.64 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.3073, allocations: 80.14 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.3073, allocations: 7.953 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.3073, allocations: 9.719 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3074, allocations: 314.8 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.3075, allocations: 24 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/0.3076, allocations: 19.92 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3077, allocations: 36.83 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3078, allocations: 3.938 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.3079, allocations: 65.91 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.308, allocations: 8 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.308, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.308, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.3081, allocations: 19.91 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3081, allocations: 0 / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.3081, allocations: 7.984 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3081, allocations: 0 / 1.287 GB, free: 8.176 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.232e-05/0.3082, allocations: 117.8 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.3082, allocations: 7.953 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.3085, allocations: 64.97 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3085, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3085, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3085, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3086, allocations: 140.7 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3086, allocations: 4 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.3087, allocations: 12.03 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3087, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.3087, allocations: 3.938 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3087, allocations: 7.984 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3087, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3089, allocations: 159.5 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.309, allocations: 3.984 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.309, allocations: 3.938 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.309, allocations: 8 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.3091, allocations: 3.984 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3091, allocations: 4 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.3091, allocations: 75.28 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3091, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002186/0.3093, allocations: 4 kB / 1.287 GB, free: 7.496 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.0005507/0.3099, allocations: 0.7006 MB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.3101, allocations: 39.98 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3101, allocations: 0 / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.3102, allocations: 23.92 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.3105, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.3109, allocations: 139.2 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3112, allocations: 0.6729 MB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.3112, allocations: 4.125 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.3112, allocations: 11.42 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3112, allocations: 0 / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.339, allocations: 1.37 MB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.16, allocations: 12 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.04108009799893]