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.001366/0.001366, allocations: 104 kB / 16.36 MB, free: 5.879 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.001377/0.001377, allocations: 193.6 kB / 17.3 MB, free: 5.52 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 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.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.17 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2493, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003081/0.2524, allocations: 1.668 MB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006694/0.2531, allocations: 398.8 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.2532, allocations: 0 / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.2533, allocations: 15.86 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.2534, allocations: 23.78 kB / 0.9532 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.2538, allocations: 115.6 kB / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.254, allocations: 115.5 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2541, allocations: 35.97 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.2542, allocations: 35.86 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.2542, allocations: 43.78 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.2543, allocations: 12 kB / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.2544, allocations: 63.94 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.327e-05/0.2545, allocations: 27.91 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.2545, allocations: 43.8 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.2548, allocations: 131.5 kB / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2548, allocations: 0 / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2548, allocations: 0 / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.2548, allocations: 0 / 0.9538 GB, free: 5.355 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.0006632/0.2555, allocations: 424.1 kB / 0.9542 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2555, allocations: 12.03 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.2558, allocations: 28.81 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.2561, allocations: 192.2 kB / 0.9544 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.2561, allocations: 38.2 kB / 0.9544 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.2562, allocations: 12.38 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.2564, allocations: 110.1 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2564, allocations: 3.938 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2565, allocations: 0 / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2565, allocations: 0 / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.2567, allocations: 79.94 kB / 0.9546 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007139/0.2574, allocations: 392.3 kB / 0.955 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.2579, allocations: 122.6 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.2581, allocations: 52.8 kB / 0.9552 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2581, allocations: 4 kB / 0.9552 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2581, allocations: 30.56 kB / 0.9552 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2581, allocations: 4 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000407/0.2585, allocations: 125.7 kB / 0.9553 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2586, allocations: 55.39 kB / 0.9554 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2587, allocations: 140.4 kB / 0.9555 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.2587, allocations: 33.64 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.2588, allocations: 100 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.2588, allocations: 23.64 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.2589, allocations: 21.88 kB / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.259, allocations: 322.8 kB / 0.956 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.2591, allocations: 31.91 kB / 0.956 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2592, allocations: 49.69 kB / 0.9561 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.2594, allocations: 73.67 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2594, allocations: 0 / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002394/0.2597, allocations: 113.5 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2597, allocations: 4 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2597, allocations: 4.031 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2597, allocations: 4 kB / 0.9562 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2598, allocations: 19.92 kB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2599, allocations: 0 / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.2599, allocations: 19.83 kB / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.26, allocations: 4.547 kB / 0.9563 GB, free: 2.52 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.746e-05/0.26, allocations: 119.8 kB / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.2601, allocations: 7.906 kB / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.2601, allocations: 20.7 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2601, allocations: 3.938 kB / 0.9564 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2601, allocations: 4 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2602, allocations: 0 / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.2604, allocations: 201.6 kB / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2604, allocations: 0 / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2605, allocations: 19.92 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2605, allocations: 0 / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2605, allocations: 0 / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2605, allocations: 3.938 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2605, allocations: 4 kB / 0.9567 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.2608, allocations: 211.3 kB / 0.9569 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.2609, allocations: 81.02 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2609, allocations: 0 / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.261, allocations: 19.92 kB / 0.957 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.2611, allocations: 7.984 kB / 0.957 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2611, allocations: 4 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.009e-05/0.2612, allocations: 105.8 kB / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2612, allocations: 0 / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002619/0.2614, allocations: 20 kB / 0.9571 GB, free: 1.609 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 0.0001128/0.2616, allocations: 105.8 kB / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.2618, allocations: 71.89 kB / 0.9573 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2618, allocations: 4.062 kB / 0.9573 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2619, allocations: 43.91 kB / 0.9573 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.2623, allocations: 19.98 kB / 0.9573 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.2627, allocations: 207 kB / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.263, allocations: 0.7039 MB / 0.9582 GB, free: 408 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.378e-05/0.263, allocations: 16.66 kB / 0.9582 GB, free: 388 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.2631, allocations: 11.44 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2631, allocations: 0 / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of Templates: time 0.003789/0.2669, allocations: 1.444 MB / 0.9596 GB, free: 14.94 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 gbode -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