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: 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.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001717/0.001718, allocations: 196.2 kB / 16.14 MB, free: 6.691 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.445 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.487/2.487, allocations: 390.2 MB / 0.6642 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9029/0.9041, allocations: 140.4 MB / 0.9489 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003281/0.9074, allocations: 1.715 MB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.9083, allocations: 413.6 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.9084, allocations: 1.344 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.9086, allocations: 3.938 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.9087, allocations: 30.28 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.9091, allocations: 107.9 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.9093, allocations: 105.2 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.9095, allocations: 38.75 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.9096, allocations: 42.25 kB / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.495e-05/0.9097, allocations: 40.34 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.9097, allocations: 4.75 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.9099, allocations: 60.81 kB / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.9099, allocations: 14.83 kB / 0.9514 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.91, allocations: 46.78 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.9103, allocations: 125.6 kB / 0.9516 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9103, allocations: 0 / 0.9516 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9103, allocations: 4 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.9103, allocations: 0 / 0.9516 GB, free: 7.281 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.0006725/0.911, allocations: 419.1 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.9111, allocations: 9.625 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.9113, allocations: 32.73 kB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.9115, allocations: 197.2 kB / 0.9522 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.716e-05/0.9116, allocations: 35.45 kB / 0.9522 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.9117, allocations: 9.375 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.912, allocations: 102.6 kB / 0.9523 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.912, allocations: 3.938 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.912, allocations: 9.297 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.912, allocations: 1 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.9123, allocations: 74.69 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.913, allocations: 384.6 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.9136, allocations: 134.4 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.9137, allocations: 36.78 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.9137, allocations: 5.422 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.9138, allocations: 32.28 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.9138, allocations: 0 / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004374/0.9142, allocations: 135.8 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.9143, allocations: 55.41 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.9144, allocations: 140.4 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.9144, allocations: 25.7 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.9144, allocations: 103.6 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.9145, allocations: 27.08 kB / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.9145, allocations: 22.78 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.9146, allocations: 325.3 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.9147, allocations: 27.64 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.9148, allocations: 53.08 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.915, allocations: 80.2 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.915, allocations: 4 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002401/0.9153, allocations: 112.1 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.9153, allocations: 4.594 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.9153, allocations: 1.25 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9153, allocations: 5.219 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.9155, allocations: 25.05 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9155, allocations: 1.188 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.9156, allocations: 13.27 kB / 0.9541 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.9156, allocations: 1.5 kB / 0.9541 GB, free: 5 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 7.907e-05/0.9157, allocations: 117.4 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.9157, allocations: 8.344 kB / 0.9542 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.9157, allocations: 15.03 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9157, allocations: 5.125 kB / 0.9542 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9158, allocations: 0 / 0.9542 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9158, allocations: 1.031 kB / 0.9542 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.916, allocations: 200.4 kB / 0.9544 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.916, allocations: 4 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.9161, allocations: 15.33 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9161, allocations: 1.25 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.9161, allocations: 4 kB / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.9161, allocations: 5.344 kB / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9161, allocations: 0 / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.9164, allocations: 211.6 kB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.9164, allocations: 87.64 kB / 0.9548 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.9165, allocations: 1.25 kB / 0.9548 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.9166, allocations: 13.98 kB / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.9167, allocations: 10.47 kB / 0.9548 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.9167, allocations: 6.156 kB / 0.9548 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.739e-05/0.9167, allocations: 105 kB / 0.9549 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9167, allocations: 0 / 0.9549 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000241/0.917, allocations: 17.62 kB / 0.9549 GB, free: 4.23 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.0001145/0.9171, allocations: 103.7 kB / 0.955 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.9174, allocations: 73.45 kB / 0.9551 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9174, allocations: 5.281 kB / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.9175, allocations: 33.52 kB / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.918, allocations: 36.45 kB / 0.9551 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.9185, allocations: 225.5 kB / 0.9554 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.9187, allocations: 0.7001 MB / 0.956 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.244e-05/0.9188, allocations: 15.31 kB / 0.9561 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.9188, allocations: 11.78 kB / 0.9561 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.9188, allocations: 0 / 0.9561 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of Templates: time 0.004528/0.9233, allocations: 1.323 MB / 0.9574 GB, free: 2.48 MB / 0.7169 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches