Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.001387/0.001387, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001476/0.001476, allocations: 219 kB / 22.25 MB, free: 5.258 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.82 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.219/3.219, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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.002059/0.002059, allocations: 73.38 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3974, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.003173/0.4006, allocations: 0.7939 MB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001727/0.4007, allocations: 47.78 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.4008, allocations: 4 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.344e-05/0.4009, allocations: 7.875 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.401, allocations: 3.938 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.596e-05/0.4011, allocations: 19.97 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.4013, allocations: 67.78 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.4015, allocations: 31.97 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.4016, allocations: 31.86 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.4016, allocations: 23.86 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.4016, allocations: 8 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.4017, allocations: 8 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.4017, allocations: 15.92 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.4017, allocations: 27.81 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.4019, allocations: 83.78 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4019, allocations: 0 / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4019, allocations: 0 / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4019, allocations: 3.938 kB / 1.327 GB, free: 308 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006097/0.4026, allocations: 302.2 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4026, allocations: 8.031 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/0.4027, allocations: 50.73 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.4027, allocations: 8.891 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.403, allocations: 138.3 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.403, allocations: 8.125 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.4031, allocations: 8.375 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.4033, allocations: 87.95 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4033, allocations: 7.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4033, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4033, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.4035, allocations: 39.92 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009226/0.4044, allocations: 395.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.4045, allocations: 41.34 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.4045, allocations: 17.78 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.4045, allocations: 4 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.4046, allocations: 34.55 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.4046, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002922/0.4049, allocations: 53.53 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.4049, allocations: 81.36 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4052, allocations: 169.5 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.4052, allocations: 29.64 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4053, allocations: 104 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.4053, allocations: 11.89 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.4054, allocations: 13.72 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002474/0.4056, allocations: 322.8 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/0.4056, allocations: 8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.623e-05/0.4057, allocations: 17.7 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.808e-05/0.4057, allocations: 25.72 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4058, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001574/0.4059, allocations: 57.59 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.4059, allocations: 9.5 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4059, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.406, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.4061, allocations: 11.98 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4061, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.4061, allocations: 7.953 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.4061, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001472/0.4063, allocations: 128.7 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.4064, allocations: 15.83 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.4064, allocations: 15.8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4064, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4064, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4064, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.4071, allocations: 433.9 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4071, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.4071, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4071, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.4071, allocations: 4.062 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4071, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4071, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.4073, allocations: 85.83 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.4073, allocations: 7.953 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.4073, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.4074, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.4074, allocations: 7.922 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.4074, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001566/0.4076, allocations: 121.1 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4076, allocations: 4.031 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003596/0.4079, allocations: 7.938 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0006316/0.4086, allocations: 0.6132 MB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.4087, allocations: 15.94 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.4087, allocations: 4 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.4087, allocations: 0 / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.4089, allocations: 8.094 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.4111, allocations: 1.338 MB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.4112, allocations: 83.11 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.28e-05/0.4113, allocations: 12.42 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.4114, allocations: 19.42 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 6.52e-07/0.4114, allocations: 4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.448, allocations: 2.118 MB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.7, allocations: 19.34 kB / 1.334 GB, free: 8.867 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.636673743021674]