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.001763/0.001763, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001818/0.001818, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.961 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.795/2.795, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] 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.002063/0.002063, allocations: 68.38 kB / 1.117 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3555, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002705/0.3582, allocations: 0.8352 MB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.3583, allocations: 39.78 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.3584, allocations: 4 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.3585, allocations: 7.875 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.3586, allocations: 3.938 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.415e-05/0.3586, allocations: 23.97 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.3588, allocations: 63.78 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.3589, allocations: 31.97 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.287e-05/0.359, allocations: 31.86 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.3591, allocations: 31.8 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.3591, allocations: 4 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.3591, allocations: 8 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.3591, allocations: 15.92 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.3592, allocations: 27.81 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.3593, allocations: 87.08 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3593, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3593, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3593, allocations: 0 / 1.285 GB, free: 10.41 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.0004776/0.3598, allocations: 310.1 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3599, allocations: 8.031 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.3599, allocations: 42.73 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.3599, allocations: 8.891 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.3602, allocations: 134.4 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3602, allocations: 8.312 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3602, allocations: 12.38 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3604, allocations: 90.05 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3604, allocations: 7.938 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3604, allocations: 4 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3604, allocations: 4 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.3605, allocations: 39.92 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.3611, allocations: 403.7 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.589e-05/0.3612, allocations: 45.22 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.3612, allocations: 21.84 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.3612, allocations: 0 / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3613, allocations: 34.55 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3613, allocations: 0 / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001877/0.3614, allocations: 61.75 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.3615, allocations: 77.11 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3617, allocations: 165.2 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3617, allocations: 25.7 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.3618, allocations: 108 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.3618, allocations: 7.891 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.3618, allocations: 13.72 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.362, allocations: 322.8 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.362, allocations: 12.03 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.653e-05/0.362, allocations: 21.69 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.3621, allocations: 25.72 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3621, allocations: 0 / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.43e-05/0.3621, allocations: 53.59 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3622, allocations: 11.94 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3622, allocations: 4.062 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3622, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/0.3623, allocations: 7.984 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3623, allocations: 4 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.432e-05/0.3623, allocations: 11.89 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3623, allocations: 4 kB / 1.287 GB, free: 8.105 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 8.931e-05/0.3624, allocations: 114.6 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.3624, allocations: 11.89 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.3625, allocations: 11.73 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3625, allocations: 4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3625, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3625, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.3629, allocations: 441.8 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3629, allocations: 3.938 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.3629, allocations: 4 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3629, allocations: 0 / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3629, allocations: 8 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3629, allocations: 0 / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3629, allocations: 4 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.943e-05/0.363, allocations: 81.88 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.3631, allocations: 11.91 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3631, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.3631, allocations: 4.031 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.3631, allocations: 7.922 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3631, allocations: 8 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.157e-05/0.3632, allocations: 115.2 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3632, allocations: 4 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001903/0.3634, allocations: 8 kB / 1.287 GB, free: 7.188 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.0004482/0.3639, allocations: 0.6093 MB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.79e-05/0.3639, allocations: 19.94 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3639, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.364, allocations: 8 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.3641, allocations: 9.719 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.3655, allocations: 1.332 MB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3659, allocations: 0.6889 MB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.3659, allocations: 8.422 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.366, allocations: 27.42 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.366, allocations: 4 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3957, allocations: 1.69 MB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.29, allocations: 13.45 kB / 1.292 GB, free: 2.77 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.048553979000644]