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.001424/0.001425, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.001504/0.001504, allocations: 194.6 kB / 16.91 MB, free: 6.184 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.355/2.355, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 60.67 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3103, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003521/0.3139, allocations: 1.739 MB / 0.9515 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.3148, allocations: 390.8 kB / 0.9518 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.315, allocations: 4 kB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.3151, allocations: 7.922 kB / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.3152, allocations: 19.8 kB / 0.9519 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.3157, allocations: 115.5 kB / 0.952 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3159, allocations: 111.5 kB / 0.9521 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3161, allocations: 43.95 kB / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.3162, allocations: 39.84 kB / 0.9522 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.3163, allocations: 43.78 kB / 0.9522 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.3163, allocations: 8 kB / 0.9522 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.3165, allocations: 59.95 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.3165, allocations: 19.92 kB / 0.9523 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.3166, allocations: 51.77 kB / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.3167, allocations: 84.11 kB / 0.9524 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3167, allocations: 4 kB / 0.9524 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3167, allocations: 0 / 0.9524 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3168, allocations: 0 / 0.9524 GB, free: 6.535 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.0006466/0.3174, allocations: 427 kB / 0.9528 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3175, allocations: 8.031 kB / 0.9528 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.3177, allocations: 28.81 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.318, allocations: 200.1 kB / 0.953 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.318, allocations: 34.27 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3181, allocations: 4.375 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.3183, allocations: 110 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3184, allocations: 3.938 kB / 0.9532 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3184, allocations: 4 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3184, allocations: 4 kB / 0.9532 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.3187, allocations: 83.94 kB / 0.9533 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.3194, allocations: 384.3 kB / 0.9536 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.32, allocations: 138.6 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3201, allocations: 40.83 kB / 0.9538 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3202, allocations: 4 kB / 0.9538 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3202, allocations: 34.56 kB / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3202, allocations: 0 / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004347/0.3206, allocations: 137.8 kB / 0.954 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.3207, allocations: 51.41 kB / 0.954 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3208, allocations: 140 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3208, allocations: 29.69 kB / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.3209, allocations: 100 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3209, allocations: 27.58 kB / 0.9543 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.321, allocations: 21.72 kB / 0.9543 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3211, allocations: 322.8 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3212, allocations: 27.98 kB / 0.9547 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3214, allocations: 41.69 kB / 0.9547 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.3216, allocations: 81.67 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3216, allocations: 0 / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002673/0.3219, allocations: 117.5 kB / 0.9549 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3219, allocations: 4 kB / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3219, allocations: 0 / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3219, allocations: 0 / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.322, allocations: 23.92 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.322, allocations: 0.5781 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-05/0.3221, allocations: 15.89 kB / 0.9549 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.3221, allocations: 4 kB / 0.9549 GB, free: 3.695 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 0.0001/0.3222, allocations: 125.7 kB / 0.9551 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.3223, allocations: 7.906 kB / 0.9551 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.3223, allocations: 8.719 kB / 0.9551 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3223, allocations: 7.938 kB / 0.9551 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3223, allocations: 0 / 0.9551 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3224, allocations: 3.984 kB / 0.9551 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.3226, allocations: 201.6 kB / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3226, allocations: 3.938 kB / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3227, allocations: 15.98 kB / 0.9553 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3227, allocations: 4 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3227, allocations: 0 / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3227, allocations: 7.875 kB / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3227, allocations: 0 / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.3231, allocations: 215.3 kB / 0.9555 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.3231, allocations: 85.02 kB / 0.9556 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3232, allocations: 0 / 0.9556 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.3233, allocations: 19.92 kB / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.3234, allocations: 3.984 kB / 0.9556 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3234, allocations: 4 kB / 0.9556 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.3235, allocations: 105.9 kB / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3235, allocations: 0 / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002432/0.3237, allocations: 24 kB / 0.9558 GB, free: 2.777 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.0001293/0.3239, allocations: 99.23 kB / 0.9558 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.3241, allocations: 75.89 kB / 0.9559 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3241, allocations: 0 / 0.9559 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.3243, allocations: 39.97 kB / 0.956 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.3247, allocations: 20.05 kB / 0.956 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.3252, allocations: 264.6 kB / 0.9562 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3255, allocations: 0.6961 MB / 0.9569 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.3255, allocations: 11.44 kB / 0.9569 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.3255, allocations: 0 / 0.9569 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of Templates: time 0.003058/0.3286, allocations: 1.304 MB / 0.9582 GB, free: 216 kB / 0.7325 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/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