Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001413/0.001413, 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.00156/0.00156, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 8 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.27/3.27, allocations: 0.49 GB / 0.7951 GB, free: 33.3 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.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.001995/0.001995, allocations: 68.44 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4149, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002163/0.417, allocations: 0.717 MB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.4182, allocations: 0.8436 MB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.4182, allocations: 0 / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.4183, allocations: 3.938 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.4183, allocations: 7.938 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.4185, allocations: 11.98 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.4186, allocations: 43.8 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4187, allocations: 15.98 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.801e-05/0.4188, allocations: 27.92 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.4189, allocations: 15.92 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.4189, allocations: 4 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.4189, allocations: 4 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.4189, allocations: 4 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.419, allocations: 27.84 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.4191, allocations: 40.09 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4191, allocations: 0 / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4191, allocations: 0 / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.4191, allocations: 0 / 1.328 GB, free: 144 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006512/0.4198, allocations: 286.2 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4198, allocations: 12.03 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.4199, allocations: 38.73 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.4199, allocations: 4.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.42, allocations: 110.4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.4201, allocations: 8.312 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.4201, allocations: 384 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.4203, allocations: 70.22 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4203, allocations: 3.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.4203, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4204, allocations: 7.922 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.4206, allocations: 59.94 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.421, allocations: 240 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.4212, allocations: 62.47 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.4214, allocations: 32.92 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.4214, allocations: 3.984 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.4214, allocations: 34.56 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.4214, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005456/0.422, allocations: 133.5 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.422, allocations: 55.34 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4221, allocations: 109.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.4222, allocations: 25.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.4222, allocations: 88.14 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.4223, allocations: 11.94 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.4223, allocations: 13.72 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4225, allocations: 314.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4226, allocations: 31.95 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4227, allocations: 31.97 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.423, allocations: 72.72 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.423, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003066/0.4233, allocations: 109.8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4233, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4233, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.4233, allocations: 4.031 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.4235, allocations: 19.97 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4235, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.4235, allocations: 11.98 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.4235, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 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 (3): * Single equations (assignments): 3 * 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.0001067/0.4237, allocations: 118.3 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.4237, allocations: 7.953 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.424, allocations: 101.6 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.424, allocations: 3.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.424, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.424, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.4242, allocations: 148.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4242, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.291e-05/0.4243, allocations: 15.98 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4243, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.4243, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4243, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4243, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.4247, allocations: 203.4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.4247, allocations: 7.891 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4247, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4248, allocations: 11.98 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.4249, allocations: 11.92 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.4249, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.425, allocations: 95.52 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.425, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002209/0.4252, allocations: 8 kB / 1.33 GB, free: 13.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006762/0.4258, allocations: 0.7241 MB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.4262, allocations: 63.92 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4262, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4263, allocations: 39.89 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.4266, allocations: 9.875 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.4271, allocations: 151.2 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.4274, allocations: 0.6768 MB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.4274, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.4275, allocations: 15.42 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4275, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.4633, allocations: 1.731 MB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.17, allocations: 15.83 kB / 1.334 GB, free: 9.773 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable max1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.307638209000288]