Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.001838/0.001838, 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.001561/0.001561, allocations: 218.1 kB / 22.25 MB, free: 5.254 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.781 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.373/3.373, allocations: 0.49 GB / 0.7951 GB, free: 35.38 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_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.002255/0.002255, allocations: 79.3 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3555, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.00234/0.3578, allocations: 0.7899 MB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001537/0.358, allocations: 43.84 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.358, allocations: 4 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.3581, allocations: 11.86 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.754e-05/0.3582, allocations: 7.875 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.779e-05/0.3582, allocations: 19.98 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3583, allocations: 59.84 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3585, allocations: 35.95 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.3586, allocations: 31.81 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.3586, allocations: 27.84 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.3586, allocations: 4 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.3587, allocations: 12 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.3587, allocations: 11.94 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.3587, allocations: 31.8 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.3588, allocations: 79.8 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3589, allocations: 0 / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3589, allocations: 0 / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3589, allocations: 0 / 1.327 GB, free: 320 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.0004653/0.3593, allocations: 311.1 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3594, allocations: 12.03 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.3594, allocations: 34.75 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.3594, allocations: 8.891 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.3596, allocations: 138.4 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.3597, allocations: 16.22 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.3597, allocations: 4.375 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.3598, allocations: 95.94 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3599, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3599, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3599, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.3599, allocations: 39.92 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.3605, allocations: 395.8 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.16e-05/0.3606, allocations: 41.25 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.3606, allocations: 17.78 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3606, allocations: 4 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3607, allocations: 30.56 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.3607, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.3608, allocations: 61.45 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3609, allocations: 81.11 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.361, allocations: 165.2 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3611, allocations: 29.95 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.3611, allocations: 108 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.3611, allocations: 7.953 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.3612, allocations: 13.72 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3613, allocations: 322.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.3614, allocations: 8 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.3614, allocations: 17.66 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.3614, allocations: 25.72 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3614, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.467e-05/0.3615, allocations: 65.58 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3615, allocations: 7.938 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3615, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3616, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.3616, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3616, allocations: 7.969 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.3617, allocations: 11.95 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.3617, 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 8.964e-05/0.3618, allocations: 118.3 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.3618, allocations: 11.95 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.3618, allocations: 11.81 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3618, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3618, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3618, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.3623, allocations: 445.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3623, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/0.3623, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3623, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3623, allocations: 3.938 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3623, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3623, allocations: 4.062 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.116e-05/0.3624, allocations: 85.83 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.3624, allocations: 11.95 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3624, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.3624, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.3624, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3625, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001025/0.3626, allocations: 121.1 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3626, allocations: 3.938 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001838/0.3627, allocations: 4 kB / 1.33 GB, free: 13.12 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.0004269/0.3632, allocations: 0.6249 MB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.301e-05/0.3632, allocations: 19.92 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/0.3633, allocations: 4 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/0.3633, 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.0001511/0.3634, allocations: 8 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.001315/0.3647, allocations: 1.34 MB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.894e-05/0.3648, allocations: 79.12 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.3648, allocations: 16.5 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.3649, allocations: 15.44 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.3649, allocations: 4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.3933, allocations: 2.127 MB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.69, allocations: 4.062 kB / 1.334 GB, free: 8.871 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_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_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.834499154996593]