Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.146/2.146, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5772/0.5785, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002345/0.5809, allocations: 1.652 MB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005633/0.5815, allocations: 389.9 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.5815, allocations: 1.469 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.912e-05/0.5816, allocations: 15.8 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.5817, allocations: 19.27 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.5821, allocations: 124.7 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.5822, allocations: 117.8 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.5823, allocations: 42.28 kB / 0.952 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.5824, allocations: 43.62 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.5824, allocations: 40.06 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.5825, allocations: 7.688 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.5826, allocations: 60.42 kB / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.5826, allocations: 19.56 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.5827, allocations: 53.69 kB / 0.9522 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.5828, allocations: 123.4 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5829, allocations: 1.031 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5829, allocations: 0 / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5829, allocations: 0 / 0.9523 GB, free: 7.09 MB / 0.7169 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.0004516/0.5833, allocations: 431.6 kB / 0.9528 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5834, allocations: 8.375 kB / 0.9528 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.5834, allocations: 37.62 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.5836, allocations: 30.41 kB / 0.9528 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.5838, allocations: 192.1 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.5838, allocations: 38.73 kB / 0.953 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.5838, allocations: 9.531 kB / 0.9531 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.5841, allocations: 107.6 kB / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.5841, allocations: 1.938 kB / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5841, allocations: 0 / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5841, allocations: 2.156 kB / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.5844, allocations: 82.45 kB / 0.9532 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.5849, allocations: 392.4 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.5854, allocations: 138.5 kB / 0.9537 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.5855, allocations: 40.22 kB / 0.9538 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5855, allocations: 1.156 kB / 0.9538 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.5856, allocations: 35.77 kB / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.5856, allocations: 0 / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003776/0.5859, allocations: 132.6 kB / 0.9539 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.787e-05/0.586, allocations: 59.28 kB / 0.954 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.5861, allocations: 135.8 kB / 0.9541 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.5861, allocations: 26.77 kB / 0.9542 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.5861, allocations: 108.4 kB / 0.9543 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.5861, allocations: 30.66 kB / 0.9543 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.5862, allocations: 18.47 kB / 0.9543 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.5862, allocations: 325.2 kB / 0.9546 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.93e-05/0.5863, allocations: 23.8 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.5864, allocations: 44 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.5866, allocations: 82.19 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5866, allocations: 4 kB / 0.9548 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002331/0.5869, allocations: 115.8 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5869, allocations: 4.844 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5869, allocations: 0 / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.5869, allocations: 5.406 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.587, allocations: 17.8 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.587, allocations: 5.25 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.5871, allocations: 12.95 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.5871, allocations: 9.5 kB / 0.9549 GB, free: 4.746 MB / 0.7169 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 5.654e-05/0.5872, allocations: 113.8 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.5872, allocations: 7.781 kB / 0.955 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.5873, allocations: 11.28 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5873, allocations: 5.125 kB / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5873, allocations: 0 / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5873, allocations: 0 / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.5874, allocations: 204.4 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5874, allocations: 0 / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.5875, allocations: 20.92 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5875, allocations: 0 / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.5876, allocations: 1.5 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5876, allocations: 3.938 kB / 0.9553 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5876, allocations: 1.188 kB / 0.9553 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.5878, allocations: 202.6 kB / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.5879, allocations: 91.23 kB / 0.9556 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.5879, allocations: 1.094 kB / 0.9556 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.588, allocations: 22.86 kB / 0.9556 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.5881, allocations: 6.141 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.5881, allocations: 6.125 kB / 0.9556 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.5881, allocations: 103.4 kB / 0.9557 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5881, allocations: 0 / 0.9557 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002356/0.5884, allocations: 21.31 kB / 0.9557 GB, free: 3.98 MB / 0.7169 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.0003832/0.5888, allocations: 0.7379 MB / 0.9564 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.589, allocations: 70.58 kB / 0.9565 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.589, allocations: 4.062 kB / 0.9565 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.5892, allocations: 42.66 kB / 0.9565 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.5895, allocations: 29.59 kB / 0.9566 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.5909, allocations: 1.55 MB / 0.9581 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.5911, allocations: 0.6958 MB / 0.9588 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.797e-05/0.5911, allocations: 11.56 kB / 0.9588 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.5912, allocations: 27.34 kB / 0.9588 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5912, allocations: 0 / 0.9588 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.873/2.464, allocations: 2.685 MB / 0.9614 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/13.49, allocations: 15.69 kB / 0.9614 GB, free: 15.68 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches