Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008628/0.0008628, 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.001027/0.001027, allocations: 165.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.8942/0.8942, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.653/1.653, allocations: 359 MB / 0.6037 GB, free: 11.09 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.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.035e-06/3.035e-06, allocations: 0 / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.778e-05, allocations: 5.375 kB / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001503/0.001531, allocations: 0.7105 MB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.002419, allocations: 0.8238 MB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.002457, allocations: 0 / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.002486, allocations: 3.938 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.00255, allocations: 11.86 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.002659, allocations: 15.97 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.002736, allocations: 43.86 kB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.002847, allocations: 11.98 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.002921, allocations: 23.98 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.002961, allocations: 11.98 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.002984, allocations: 7.938 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.002995, allocations: 4 kB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.003013, allocations: 7.984 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.003035, allocations: 11.98 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.977e-05/0.003125, allocations: 47.8 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003127, allocations: 0 / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003128, allocations: 4 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003133, allocations: 0 / 0.9523 GB, free: 1.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003638/0.003496, allocations: 286.2 kB / 0.9525 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.003539, allocations: 8.031 kB / 0.9525 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.003569, allocations: 30.75 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.003594, allocations: 8.891 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.128e-05/0.003675, allocations: 121.7 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.003685, allocations: 384 / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.003693, allocations: 4.312 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.003859, allocations: 74.22 kB / 0.9528 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003866, allocations: 192 / 0.9528 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.003875, allocations: 384 / 0.9528 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.00388, allocations: 4.125 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.004016, allocations: 67.91 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.004313, allocations: 232 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.004438, allocations: 58.53 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.587e-05/0.004514, allocations: 36.91 kB / 0.9531 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.004537, allocations: 7.938 kB / 0.9532 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.004558, allocations: 30.56 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.004559, allocations: 0 / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.000314/0.004873, allocations: 129.5 kB / 0.9533 GB, free: 452 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.004902, allocations: 51.41 kB / 0.9534 GB, free: 388 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.004967, allocations: 117.8 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.004977, allocations: 29.7 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.005014, allocations: 88.12 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.005033, allocations: 11.91 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.00506, allocations: 13.72 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.005149, allocations: 318.8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.005224, allocations: 31.97 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.005284, allocations: 27.97 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.005416, allocations: 68.78 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.005419, allocations: 4 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001597/0.005579, allocations: 109.5 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.00559, allocations: 4 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.005596, allocations: 3.984 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.005607, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.005687, allocations: 15.98 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.005696, allocations: 0 / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.00573, allocations: 11.98 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.005736, allocations: 4 kB / 0.9542 GB, free: 15.49 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 (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.0002881/0.006025, allocations: 113.8 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.006039, allocations: 7.891 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.006238, allocations: 113.5 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.00624, allocations: 0 / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.006245, allocations: 0 / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006247, allocations: 4 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.006348, allocations: 132.8 kB / 0.9545 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.00635, allocations: 0 / 0.9545 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.006395, allocations: 19.92 kB / 0.9545 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.006397, allocations: 0 / 0.9545 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.006403, allocations: 3.938 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006405, allocations: 0 / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006405, allocations: 0 / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.006587, allocations: 207.8 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.006595, allocations: 7.938 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.006606, allocations: 4 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.00666, allocations: 7.984 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.006699, allocations: 11.92 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.006703, allocations: 3.938 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.006737, allocations: 91.58 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006737, allocations: 0 / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001384/0.006875, allocations: 4 kB / 0.9549 GB, free: 14.69 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 (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.0003656/0.007241, allocations: 0.728 MB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.007415, allocations: 71.86 kB / 0.9557 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007416, allocations: 4 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.007484, allocations: 31.97 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.007727, allocations: 8 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.008072, allocations: 146.4 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.008115, allocations: 67.28 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.008139, allocations: 8 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.00818, allocations: 20.48 kB / 0.9559 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.008181, allocations: 0 / 0.9559 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.02354, allocations: 2.318 MB / 0.9582 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/6.97, allocations: 1.719 kB / 0.9582 GB, free: 11.35 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.970963090658188]