Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.0007764/0.0007764, 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.0008291/0.0008291, 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.8475/0.8475, allocations: 177.1 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.644/1.644, 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.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.68e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002114/0.002141, allocations: 0.6989 MB / 0.9513 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.003361, allocations: 0.8198 MB / 0.9521 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.003402, allocations: 0 / 0.9521 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.003433, allocations: 3.938 kB / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.003502, allocations: 7.938 kB / 0.9521 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.003618, allocations: 15.97 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.69e-05/0.003705, allocations: 47.84 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.003811, allocations: 8 kB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.248e-05/0.003893, allocations: 27.91 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.003939, allocations: 19.92 kB / 0.9522 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.003962, allocations: 4 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.003972, allocations: 4 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.003989, allocations: 7.984 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.004015, allocations: 15.92 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.342e-05/0.004109, allocations: 43.86 kB / 0.9522 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.004113, allocations: 0 / 0.9522 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.603e-06/0.004114, allocations: 4 kB / 0.9523 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.004119, allocations: 0 / 0.9523 GB, free: 1.688 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.0003933/0.004512, allocations: 286.2 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.00455, allocations: 8.031 kB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.004581, allocations: 34.75 kB / 0.9526 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.004603, allocations: 4.891 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.00468, allocations: 113.7 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.00469, allocations: 4.312 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.004701, allocations: 8.375 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.004871, allocations: 70.16 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004879, allocations: 4.188 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.004889, allocations: 4.375 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004896, allocations: 8.125 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.005039, allocations: 59.92 kB / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.005359, allocations: 232 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.005481, allocations: 58.41 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.005556, allocations: 36.92 kB / 0.9531 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.005578, allocations: 3.938 kB / 0.9531 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.005599, allocations: 38.55 kB / 0.9532 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.0056, allocations: 4 kB / 0.9532 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003209/0.005921, allocations: 125.6 kB / 0.9533 GB, free: 476 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.005952, allocations: 51.41 kB / 0.9534 GB, free: 412 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.006018, allocations: 109.8 kB / 0.9535 GB, free: 292 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.006028, allocations: 25.7 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.006066, allocations: 92.12 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.006084, allocations: 11.84 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.00611, allocations: 17.72 kB / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.006204, allocations: 314.8 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.006283, allocations: 35.95 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.006348, allocations: 27.97 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.006484, allocations: 68.78 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006486, allocations: 4 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001685/0.006654, allocations: 97.89 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.006668, allocations: 4 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006673, allocations: 0 / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.006685, allocations: 4 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.006774, allocations: 19.91 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.006779, allocations: 4 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.006817, allocations: 15.98 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.006823, allocations: 0 / 0.9542 GB, free: 15.52 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 5.787e-05/0.006881, allocations: 109.8 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.006897, allocations: 11.88 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.007111, allocations: 109.5 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007113, allocations: 4 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.007118, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.007121, allocations: 7.984 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.007236, allocations: 132.8 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007237, allocations: 0 / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.007282, allocations: 15.92 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.007285, allocations: 3.938 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.007294, allocations: 4 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.007296, allocations: 7.875 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007297, allocations: 0 / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.00749, allocations: 195.4 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.0075, allocations: 11.94 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.007511, allocations: 0 / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.007564, allocations: 19.98 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.0076, allocations: 3.984 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.007602, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.007634, allocations: 87.59 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007634, allocations: 4 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001469/0.007781, allocations: 8 kB / 0.9549 GB, free: 14.72 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.0003977/0.008179, allocations: 0.7279 MB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.008365, allocations: 67.92 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.008368, allocations: 4 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.008441, allocations: 35.95 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.008701, allocations: 11.14 kB / 0.9557 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.009069, allocations: 149.4 kB / 0.9558 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.009117, allocations: 75.28 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.527e-05/0.009142, allocations: 0 / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.009183, allocations: 16.48 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.009183, allocations: 0 / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.02424, allocations: 2.31 MB / 0.9582 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/6.938, allocations: 5.938 kB / 0.9582 GB, free: 11.38 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_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_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable min1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.9727538600564]