Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001576/0.001576, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001989/0.001989, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.927/2.927, allocations: 476 MB / 0.7699 GB, free: 4.691 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_11_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.002179/0.002179, allocations: 66.41 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4106, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.003188/0.4138, allocations: 0.7924 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002047/0.414, allocations: 43.78 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.4141, allocations: 0 / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.93e-05/0.4142, allocations: 15.86 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.4143, allocations: 7.875 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.379e-05/0.4144, allocations: 19.98 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.4145, allocations: 55.84 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.4147, allocations: 39.48 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.4148, allocations: 23.88 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.4149, allocations: 31.72 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.4149, allocations: 8 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.274e-05/0.4149, allocations: 8 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.415, allocations: 11.92 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.415, allocations: 27.86 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.4152, allocations: 73.28 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4152, allocations: 4 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4152, allocations: 0 / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4152, allocations: 4 kB / 1.284 GB, free: 11.24 MB / 0.9825 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.0006137/0.4158, allocations: 310.1 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.4159, allocations: 8.031 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.289e-05/0.416, allocations: 42.69 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.416, allocations: 8.891 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.4163, allocations: 142.4 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4163, allocations: 384 / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.4163, allocations: 12.38 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.4166, allocations: 91.8 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4166, allocations: 3.938 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.4166, allocations: 12 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4166, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4167, allocations: 35.98 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.4175, allocations: 391.8 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.4176, allocations: 37.22 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.4177, allocations: 13.88 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.4177, allocations: 3.938 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/0.4178, allocations: 42.56 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.532e-06/0.4178, allocations: 0 / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003012/0.4181, allocations: 61.52 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.4182, allocations: 77.11 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.4185, allocations: 160.7 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.4185, allocations: 25.7 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.4186, allocations: 112 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.4187, allocations: 3.953 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.4187, allocations: 17.72 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002495/0.419, allocations: 322.8 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.419, allocations: 0 / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.4191, allocations: 25.97 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4192, allocations: 29.59 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4192, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001395/0.4193, allocations: 57.64 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.4194, allocations: 15.88 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4194, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.4194, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.4195, allocations: 11.94 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4195, allocations: 0 / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.4195, allocations: 8.016 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.4196, allocations: 7.984 kB / 1.286 GB, free: 8.953 MB / 0.9825 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.000258/0.4198, allocations: 113.8 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.4199, allocations: 11.89 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.4199, allocations: 7.812 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4199, allocations: 4 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4199, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.42, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.4207, allocations: 441.8 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4207, allocations: 8.047 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.4207, allocations: 4 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.4207, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.4207, allocations: 4 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4207, allocations: 0 / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4207, allocations: 0 / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.4209, allocations: 81.83 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.4209, allocations: 15.89 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.4209, allocations: 4.094 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.625e-05/0.421, allocations: 0 / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.421, allocations: 8.016 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.421, allocations: 0 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002307/0.4212, allocations: 126.1 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4212, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003226/0.4215, allocations: 8 kB / 1.287 GB, free: 8.047 MB / 0.9825 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.0007441/0.4223, allocations: 0.6171 MB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.4225, allocations: 15.98 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4225, allocations: 0 / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.961e-05/0.4225, allocations: 12.09 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.4227, allocations: 14.44 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.4252, allocations: 1.325 MB / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.4254, allocations: 83.14 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.567e-05/0.4254, allocations: 8.422 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.4255, allocations: 31.44 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of SimCode: time 1.563e-06/0.4255, allocations: 4 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.4615, allocations: 2.091 MB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.8, allocations: 15.73 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.82457083882764]