Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001335/0.001335, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00163/0.00163, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.501/1.501, 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.87/2.87, allocations: 476 MB / 0.7699 GB, free: 4.719 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.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002194/0.002194, allocations: 68 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3471, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002047/0.3491, allocations: 0.7846 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.3492, allocations: 39.78 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.3493, allocations: 4 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.319e-05/0.3493, allocations: 15.86 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.238e-05/0.3494, allocations: 11.88 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.503e-05/0.3494, allocations: 19.92 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.3496, allocations: 55.91 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3497, allocations: 31.48 kB / 1.284 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.3498, allocations: 27.86 kB / 1.284 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.3498, allocations: 31.72 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3499, allocations: 8 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.3499, allocations: 4 kB / 1.284 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.3499, allocations: 15.94 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.3499, allocations: 31.86 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.3501, allocations: 73.33 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3501, allocations: 0 / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3501, allocations: 4 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3501, allocations: 0 / 1.284 GB, free: 11.32 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.0004274/0.3505, allocations: 312.3 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3505, allocations: 8.031 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.3506, allocations: 42.69 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.3506, allocations: 8.891 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.3508, allocations: 130.4 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3508, allocations: 12.38 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.3508, allocations: 16.31 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.351, allocations: 102 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.351, allocations: 3.938 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.351, allocations: 4 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.351, allocations: 4 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.3511, allocations: 31.98 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.3516, allocations: 395.8 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/0.3517, allocations: 37.27 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.3517, allocations: 21.72 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3517, allocations: 4.031 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3518, allocations: 34.56 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3518, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.3519, allocations: 61.52 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.352, allocations: 77.11 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3521, allocations: 156.7 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3522, allocations: 25.7 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.3522, allocations: 112 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.3523, allocations: 12.19 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3523, allocations: 17.72 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3524, allocations: 314.8 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.3524, allocations: 7.984 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.3525, allocations: 25.7 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.3525, allocations: 25.66 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3525, allocations: 0 / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.269e-05/0.3526, allocations: 57.64 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3526, allocations: 12 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3526, allocations: 4 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3526, allocations: 0 / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.3527, allocations: 7.938 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3527, allocations: 4 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.3527, allocations: 3.953 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3528, allocations: 7.938 kB / 1.286 GB, free: 9.031 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.826e-05/0.3528, allocations: 113.8 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.3529, allocations: 15.88 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.3529, allocations: 7.812 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3529, allocations: 0 / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3529, allocations: 8 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3529, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.3533, allocations: 437.8 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3533, allocations: 0 / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.3533, allocations: 7.938 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/0.3533, allocations: 3.984 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.3534, allocations: 0 / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3534, allocations: 4 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3534, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.253e-05/0.3535, allocations: 85.89 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.3535, allocations: 15.89 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3535, allocations: 4 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.338e-05/0.3535, allocations: 4 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.3535, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3535, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.805e-05/0.3536, allocations: 120.1 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3536, allocations: 0 / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001943/0.3538, allocations: 12 kB / 1.287 GB, free: 8.121 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.0004122/0.3542, allocations: 0.6132 MB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.3543, allocations: 16 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3543, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.3543, allocations: 15.92 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3545, allocations: 8 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3558, allocations: 1.324 MB / 1.288 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.511e-05/0.3559, allocations: 87.42 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.3559, allocations: 8.422 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.356, allocations: 23.44 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.356, allocations: 3.938 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.3858, allocations: 2.095 MB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.51, allocations: 7 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.372940504923463]