Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001817/0.001817, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.00208/0.00208, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.851/2.851, allocations: 476.7 MB / 0.7714 GB, free: 4.336 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_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="cs",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.002038/0.002038, allocations: 65.55 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3476, allocations: 169.9 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002036/0.3496, allocations: 0.8507 MB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001162/0.3497, allocations: 39.78 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.3498, allocations: 0 / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.3498, allocations: 7.875 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.3499, allocations: 15.86 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.416e-05/0.3499, allocations: 15.98 kB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.35, allocations: 59.84 kB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3501, allocations: 31.98 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.3502, allocations: 27.86 kB / 1.285 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.3503, allocations: 27.8 kB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3503, allocations: 8 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.3503, allocations: 4 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.3503, allocations: 27.84 kB / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.3504, allocations: 35.8 kB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.3505, allocations: 67.17 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3505, allocations: 4 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3505, allocations: 0 / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.3505, allocations: 4 kB / 1.285 GB, free: 10.57 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.0003938/0.3509, allocations: 310.1 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3509, allocations: 12.03 kB / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.449e-05/0.3509, allocations: 192 / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.351, allocations: 38.75 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.351, allocations: 8.891 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.3512, allocations: 138.3 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3512, allocations: 4.375 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3512, allocations: 12.38 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3513, allocations: 103.5 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3513, allocations: 0 / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3514, allocations: 8 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3514, allocations: 4 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.917e-05/0.3514, allocations: 35.92 kB / 1.286 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.352, allocations: 407.7 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.936e-05/0.352, allocations: 37.14 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.3521, allocations: 21.84 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.3521, allocations: 0 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3521, allocations: 42.53 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3521, allocations: 0 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001561/0.3522, allocations: 53.59 kB / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.3523, allocations: 81.09 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3524, allocations: 154.3 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3525, allocations: 25.7 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.3525, allocations: 108 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-06/0.3525, allocations: 12.2 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3526, allocations: 17.7 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3527, allocations: 318.8 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.3527, allocations: 7.984 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.3528, allocations: 17.72 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.541e-05/0.3528, allocations: 29.66 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3528, allocations: 4 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.499e-05/0.3529, allocations: 53.64 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3529, allocations: 11.94 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3529, allocations: 0 / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3529, allocations: 0 / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.519e-05/0.353, allocations: 7.938 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.353, allocations: 4 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.353, allocations: 11.89 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.353, allocations: 4 kB / 1.287 GB, free: 8.266 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.125e-05/0.3531, allocations: 109.9 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.3532, allocations: 15.98 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.3532, allocations: 15.78 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3532, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.3532, allocations: 4 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.3532, allocations: 0 / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.3536, allocations: 449.8 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3536, allocations: 0 / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.3537, allocations: 7.938 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3537, allocations: 0 / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.3537, allocations: 0 / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3537, allocations: 0 / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3537, allocations: 3.984 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.108e-05/0.3538, allocations: 85.89 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.3538, allocations: 11.94 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3538, allocations: 4 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.203e-05/0.3538, allocations: 7.938 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-06/0.3538, allocations: 0 / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.3538, allocations: 4 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.972e-05/0.3539, allocations: 117.5 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3539, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001854/0.3541, allocations: 15.95 kB / 1.288 GB, free: 7.344 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.0004095/0.3545, allocations: 0.6132 MB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.58e-05/0.3546, allocations: 16 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3546, allocations: 160 / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.3546, allocations: 15.94 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.3548, allocations: 7.734 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.356, allocations: 1.322 MB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3563, allocations: 0.7007 MB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.3563, allocations: 4.438 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.3564, allocations: 27.42 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3564, allocations: 0 / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.3778, allocations: 1.717 MB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.92, allocations: 2.484 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.899684378004167]