Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001881/0.001881, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.002277/0.002277, allocations: 211 kB / 20.13 MB, free: 2.969 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.584/1.584, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.053/3.053, allocations: 0.49 GB / 0.7923 GB, free: 1.23 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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.00298/0.00298, allocations: 67.89 kB / 1.149 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.19, allocations: 176.1 MB / 1.321 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002719/1.193, allocations: 1.686 MB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007493/1.194, allocations: 403.3 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/1.194, allocations: 2.812 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/1.194, allocations: 11.34 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/1.194, allocations: 22.02 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/1.195, allocations: 121.2 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/1.195, allocations: 105.1 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/1.195, allocations: 35.77 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/1.195, allocations: 41.33 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/1.195, allocations: 42.33 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/1.195, allocations: 11.41 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/1.195, allocations: 63.33 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/1.195, allocations: 18.06 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/1.195, allocations: 48.33 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/1.196, allocations: 126.8 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.196, allocations: 2.312 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.366e-06/1.196, allocations: 7.422 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.261e-06/1.196, allocations: 3.938 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006246/1.196, allocations: 419.5 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.196, allocations: 11.92 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.18e-05/1.196, allocations: 3 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/1.196, allocations: 44.86 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/1.197, allocations: 35.95 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/1.197, allocations: 201.9 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/1.197, allocations: 39.86 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/1.197, allocations: 6.188 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/1.197, allocations: 108.9 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.197, allocations: 0 / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/1.197, allocations: 4 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.197, allocations: 7 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/1.197, allocations: 76.38 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/1.198, allocations: 379.4 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/1.199, allocations: 131.9 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/1.199, allocations: 35.59 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/1.199, allocations: 3 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/1.199, allocations: 30.56 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/1.199, allocations: 0 / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004173/1.199, allocations: 141.1 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/1.199, allocations: 61.17 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/1.199, allocations: 132.5 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/1.199, allocations: 29.7 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/1.199, allocations: 101.1 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/1.199, allocations: 22.83 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/1.199, allocations: 27.28 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/1.199, allocations: 318.2 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/1.2, allocations: 24.19 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/1.2, allocations: 51.92 kB / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/1.2, allocations: 80.22 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.2, allocations: 3.938 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002419/1.2, allocations: 111.2 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.2, allocations: 5.844 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.2, allocations: 2.469 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.2, allocations: 3.938 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/1.2, allocations: 23.69 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.2, allocations: 6.562 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/1.2, allocations: 16.95 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/1.2, allocations: 3.984 kB / 1.327 GB, free: 20.81 MB / 1.061 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 (8): * Single equations (assignments): 8 * 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 6.319e-05/1.2, allocations: 121.5 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/1.2, allocations: 6.516 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/1.2, allocations: 19.25 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.2, allocations: 3.938 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.2, allocations: 0 / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.2, allocations: 2.312 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/1.201, allocations: 198.4 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.201, allocations: 2.875 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/1.201, allocations: 14.92 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.201, allocations: 0 / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/1.201, allocations: 3.938 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.201, allocations: 2.969 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.201, allocations: 0 / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/1.201, allocations: 213.4 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/1.201, allocations: 83.91 kB / 1.327 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/1.201, allocations: 7.938 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/1.201, allocations: 13 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/1.201, allocations: 2.844 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/1.201, allocations: 6.281 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.058e-05/1.201, allocations: 103.2 kB / 1.327 GB, free: 20.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.201, allocations: 0 / 1.327 GB, free: 20.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002429/1.202, allocations: 34.7 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0004692/1.202, allocations: 0.7293 MB / 1.328 GB, free: 19.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003064/1.202, allocations: 77.2 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.202, allocations: 0.6875 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/1.202, allocations: 47.16 kB / 1.328 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/1.203, allocations: 19.23 kB / 1.328 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.205, allocations: 1.55 MB / 1.33 GB, free: 18.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/1.205, allocations: 0.7017 MB / 1.331 GB, free: 17.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.491e-05/1.205, allocations: 13.89 kB / 1.331 GB, free: 17.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/1.205, allocations: 28.53 kB / 1.331 GB, free: 17.31 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.205, allocations: 0 / 1.331 GB, free: 17.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/1.224, allocations: 2.775 MB / 1.333 GB, free: 16.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.532/9.756, allocations: 22.89 kB / 1.333 GB, free: 16.84 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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: 17.04309661296429]