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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001144/0.001144, allocations: 192.9 kB / 17.29 MB, free: 5.48 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.005/2.005, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 61.69 kB / 0.814 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2286, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002667/0.2313, allocations: 1.659 MB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006455/0.232, allocations: 406.8 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.2321, allocations: 0 / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.306e-05/0.2322, allocations: 7.875 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-05/0.2322, allocations: 23.78 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.2326, allocations: 123.5 kB / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.2327, allocations: 107.7 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2329, allocations: 31.98 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.2329, allocations: 55.77 kB / 0.9535 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.233, allocations: 43.78 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.233, allocations: 4 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2331, allocations: 63.95 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.2332, allocations: 19.92 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.2332, allocations: 47.78 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2334, allocations: 127.6 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2334, allocations: 0 / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2334, allocations: 4 kB / 0.9537 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2334, allocations: 0 / 0.9537 GB, free: 5.352 MB / 0.7325 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.0005254/0.234, allocations: 419 kB / 0.9541 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.234, allocations: 12.03 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.2342, allocations: 24.83 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.2344, allocations: 207.5 kB / 0.9544 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.2345, allocations: 38.25 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.2345, allocations: 12.38 kB / 0.9544 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.2348, allocations: 106.1 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2348, allocations: 3.938 kB / 0.9545 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2348, allocations: 0 / 0.9545 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2348, allocations: 4 kB / 0.9545 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.235, allocations: 75.94 kB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.2356, allocations: 396.3 kB / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.2361, allocations: 126.5 kB / 0.9551 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2362, allocations: 48.88 kB / 0.9552 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.2363, allocations: 0 / 0.9552 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2363, allocations: 34.56 kB / 0.9552 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.2363, allocations: 0 / 0.9552 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003663/0.2367, allocations: 137.8 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.2367, allocations: 55.34 kB / 0.9554 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2368, allocations: 143.6 kB / 0.9555 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2368, allocations: 33.7 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.2369, allocations: 100 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.2369, allocations: 19.66 kB / 0.9557 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.237, allocations: 21.72 kB / 0.9557 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.2371, allocations: 318.8 kB / 0.956 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/0.2372, allocations: 27.97 kB / 0.956 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2373, allocations: 53.69 kB / 0.9561 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2375, allocations: 69.69 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2375, allocations: 0 / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002224/0.2377, allocations: 117.5 kB / 0.9562 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2377, allocations: 8 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2377, allocations: 3.984 kB / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2377, allocations: 0 / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.2379, allocations: 19.92 kB / 0.9563 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2379, allocations: 7.938 kB / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.2379, allocations: 15.84 kB / 0.9563 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.238, allocations: 0 / 0.9563 GB, free: 2.508 MB / 0.7325 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.408e-05/0.238, allocations: 117.3 kB / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.2381, allocations: 15.89 kB / 0.9564 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.2381, allocations: 16.72 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2381, allocations: 3.938 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2381, allocations: 0 / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2381, allocations: 0 / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.2383, allocations: 197.6 kB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2383, allocations: 3.938 kB / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.2384, allocations: 15.98 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2384, allocations: 0 / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2385, allocations: 0 / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2385, allocations: 11.94 kB / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2385, allocations: 0 / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.2387, allocations: 207.3 kB / 0.9569 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.2388, allocations: 81.02 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2388, allocations: 11.98 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2389, allocations: 19.86 kB / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.239, allocations: 4 kB / 0.957 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.239, allocations: 0 / 0.957 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.2391, allocations: 109.9 kB / 0.9571 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2391, allocations: 0 / 0.9571 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002213/0.2393, allocations: 24 kB / 0.9571 GB, free: 1.594 MB / 0.7325 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 9.913e-05/0.2394, allocations: 95.25 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.2396, allocations: 75.89 kB / 0.9573 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2396, allocations: 4 kB / 0.9573 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.2397, allocations: 36.75 kB / 0.9573 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.24, allocations: 25.16 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.2404, allocations: 211 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.2407, allocations: 0.7 MB / 0.9582 GB, free: 400 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.939e-05/0.2407, allocations: 12.67 kB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.2408, allocations: 11.44 kB / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2408, allocations: 0 / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of Templates: time 0.003416/0.2442, allocations: 1.449 MB / 0.9596 GB, free: 14.93 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (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 & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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