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.01/0.01, allocations: 99.61 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.199 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.347/2.347, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.67 kB / 0.9504 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2405, allocations: 140.4 MB / 1.087 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002913/0.2435, allocations: 1.659 MB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.2443, allocations: 408.2 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.2444, allocations: 0 / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2445, allocations: 7.875 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.944e-05/0.2446, allocations: 27.77 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.2451, allocations: 117.5 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.2453, allocations: 111.6 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.2455, allocations: 42.78 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.404e-05/0.2456, allocations: 35.91 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.686e-05/0.2457, allocations: 51.77 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.2458, allocations: 8 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.246, allocations: 59.95 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.246, allocations: 19.92 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.2461, allocations: 51.72 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.2465, allocations: 128.4 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2465, allocations: 0 / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2465, allocations: 0 / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.2465, allocations: 4 kB / 1.09 GB, free: 15.4 MB / 0.8575 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.0007722/0.2473, allocations: 419.1 kB / 1.091 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.2473, allocations: 12.03 kB / 1.091 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.226e-05/0.2474, allocations: 42.75 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.2477, allocations: 32.72 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.248, allocations: 196.1 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.082e-05/0.2481, allocations: 30.27 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.2482, allocations: 8.375 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.2485, allocations: 111.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2485, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.2485, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2485, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.2488, allocations: 79.92 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.2495, allocations: 400.4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.2501, allocations: 126.5 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.2502, allocations: 44.88 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2503, allocations: 0 / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2503, allocations: 30.56 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.2503, allocations: 0 / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004454/0.2507, allocations: 133.7 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2508, allocations: 67.27 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2509, allocations: 143 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2509, allocations: 25.7 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.251, allocations: 92.14 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.251, allocations: 27.64 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.2511, allocations: 17.72 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2512, allocations: 322.8 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2513, allocations: 27.98 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2514, allocations: 45.69 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.2516, allocations: 77.67 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2517, allocations: 0 / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002691/0.2519, allocations: 113.5 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2519, allocations: 11.97 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.252, allocations: 0 / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.252, allocations: 7.938 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2521, allocations: 19.98 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2521, allocations: 0 / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.2522, allocations: 23.77 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.2522, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 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 8.528e-05/0.2523, allocations: 113.8 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.2524, allocations: 11.91 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.2524, allocations: 20.7 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2524, allocations: 3.938 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2524, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2524, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.2526, allocations: 193.6 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2526, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.2527, allocations: 15.98 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2527, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2528, allocations: 8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.2528, allocations: 7.938 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2528, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.2531, allocations: 203.9 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.2531, allocations: 85.02 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2531, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2533, allocations: 19.86 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.2534, allocations: 11.98 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2534, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.285e-05/0.2534, allocations: 105 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2534, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002479/0.2537, allocations: 19.91 kB / 1.093 GB, free: 11.61 MB / 0.8575 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.0005311/0.2542, allocations: 0.7514 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.2545, allocations: 63.95 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.2545, allocations: 8 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.2546, allocations: 39.91 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.255, allocations: 27.98 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.2567, allocations: 1.542 MB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.257, allocations: 0.6962 MB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.152e-05/0.2571, allocations: 12.66 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.2571, allocations: 23.44 kB / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.2571, allocations: 4 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.275, allocations: 2.731 MB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.562, allocations: 10.52 kB / 1.099 GB, free: 5.695 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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