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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001926/0.001926, allocations: 67.91 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7648, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001543/0.7663, allocations: 0.7066 MB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000634/0.7669, allocations: 0.8134 MB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.767, allocations: 1.344 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.767, allocations: 1.172 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.767, allocations: 15.19 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.358e-05/0.7671, allocations: 14.2 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.729e-05/0.7672, allocations: 39.17 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.7673, allocations: 9.578 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.602e-05/0.7673, allocations: 17.16 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.7674, allocations: 23 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.7674, allocations: 7.844 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.7674, allocations: 7.219 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.7674, allocations: 10.52 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.7675, allocations: 14.62 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.366e-05/0.7675, allocations: 50.25 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.7675, allocations: 0 / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7675, allocations: 0.9375 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.7676, allocations: 0 / 1.273 GB, free: 6.551 MB / 0.9981 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.0003932/0.7679, allocations: 364 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.768, allocations: 14.69 kB / 1.273 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.365e-05/0.768, allocations: 31.47 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.768, allocations: 7.172 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.842e-05/0.7681, allocations: 168.8 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.7681, allocations: 9.219 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.7681, allocations: 2.156 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.7683, allocations: 65.03 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.7683, allocations: 4.719 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.7683, allocations: 8 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.7683, allocations: 0.9375 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.7686, allocations: 67.62 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.7688, allocations: 265.1 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.769, allocations: 59.45 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.7692, allocations: 36.86 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.7692, allocations: 0.8125 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.7692, allocations: 35.25 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.7692, allocations: 0 / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004877/0.7697, allocations: 130.3 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.7697, allocations: 52.41 kB / 1.274 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.7698, allocations: 114.7 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.7698, allocations: 25.7 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.7698, allocations: 97.77 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.7698, allocations: 12.69 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.7698, allocations: 12.94 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.581e-05/0.7699, allocations: 317.8 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.77, allocations: 30.66 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.7701, allocations: 31.86 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.7704, allocations: 79.25 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.7704, allocations: 0 / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002916/0.7707, allocations: 93.48 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.7707, allocations: 5.969 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.7707, allocations: 7.938 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.7707, allocations: 0.875 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.7708, allocations: 19.31 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.7708, allocations: 1.031 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.7709, allocations: 15.91 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.7709, allocations: 1.031 kB / 1.275 GB, free: 4.719 MB / 0.9981 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 4.101e-05/0.7709, allocations: 117.6 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.771, allocations: 9.688 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.7713, allocations: 106.8 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7713, allocations: 1 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.7713, allocations: 0 / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7713, allocations: 5.094 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.7714, allocations: 165.7 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7714, allocations: 0 / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.7715, allocations: 19 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7715, allocations: 0.8125 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.7715, allocations: 4.891 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7715, allocations: 5.094 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7715, allocations: 0 / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.7718, allocations: 201.5 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.7718, allocations: 80.81 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.7718, allocations: 0.75 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.7719, allocations: 15.44 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.772, allocations: 3.203 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.772, allocations: 0.9688 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.772, allocations: 88.3 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.772, allocations: 0 / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002046/0.7722, allocations: 10.84 kB / 1.276 GB, free: 3.992 MB / 0.9981 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.000477/0.7727, allocations: 0.7355 MB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.773, allocations: 70.2 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.773, allocations: 0 / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.7731, allocations: 34.19 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.7734, allocations: 4.625 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.7737, allocations: 171.7 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.939e-05/0.7738, allocations: 0.6796 MB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.7738, allocations: 7.109 kB / 1.278 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.7739, allocations: 13.56 kB / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.7739, allocations: 0 / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.7967, allocations: 1.613 MB / 1.279 GB, free: 18.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.78, allocations: 9.359 kB / 1.279 GB, free: 18.04 MB / 1.014 GB " [Timeout remaining time 292] (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/jenkins1/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: 13.260158233999391]