Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.0011/0.0011, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.7 MB / 0.7451 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.58 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4009, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.005658/0.4066, allocations: 1.658 MB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.4079, allocations: 406.8 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.4081, allocations: 0 / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.4083, allocations: 11.86 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.4085, allocations: 23.8 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008284/0.4093, allocations: 119.1 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.4096, allocations: 111.6 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.4098, allocations: 43.95 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.41, allocations: 39.91 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.4101, allocations: 43.78 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.4102, allocations: 8 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.4105, allocations: 63.95 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.4106, allocations: 19.92 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.4107, allocations: 47.77 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.4111, allocations: 123.9 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4111, allocations: 4 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.32e-06/0.4111, allocations: 4 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.4112, allocations: 7.875 kB / 1.071 GB, free: 7.625 MB / 0.8262 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.0009391/0.4121, allocations: 419 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4122, allocations: 8.031 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.4126, allocations: 24.83 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.413, allocations: 200.2 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.4131, allocations: 34.27 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.4132, allocations: 16.36 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.4136, allocations: 99.92 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4137, allocations: 7.875 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.4137, allocations: 0 / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4137, allocations: 4 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.4141, allocations: 75.94 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.4153, allocations: 388.5 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.4161, allocations: 130.6 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.4163, allocations: 44.88 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.4164, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.4164, allocations: 34.56 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.457e-06/0.4164, allocations: 7.922 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007023/0.4171, allocations: 137.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.4172, allocations: 55.41 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.4174, allocations: 139.5 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.4174, allocations: 29.7 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.4175, allocations: 96.12 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.4176, allocations: 23.56 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.4176, allocations: 21.72 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4178, allocations: 322.8 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.418, allocations: 31.97 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.4182, allocations: 49.75 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.4185, allocations: 85.77 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4185, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004747/0.419, allocations: 101.6 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.419, allocations: 11.94 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4191, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4191, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.4193, allocations: 19.92 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.4193, allocations: 4 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4195, allocations: 19.95 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.4195, allocations: 0 / 1.073 GB, free: 4.797 MB / 0.8262 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.0001346/0.4197, allocations: 115.4 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.4198, allocations: 11.91 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.4198, allocations: 20.7 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4199, allocations: 3.938 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4199, allocations: 3.938 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4199, allocations: 0 / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.4203, allocations: 197.6 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4203, allocations: 4 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.4205, allocations: 19.92 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4205, allocations: 0 / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.4205, allocations: 4 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.4206, allocations: 3.938 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4206, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.4211, allocations: 203.4 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.4212, allocations: 84.95 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.4213, allocations: 8 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.4216, allocations: 15.91 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.4216, allocations: 4 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.4217, allocations: 4 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001267/0.4218, allocations: 104.7 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4218, allocations: 0 / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004736/0.4223, allocations: 27.91 kB / 1.074 GB, free: 3.883 MB / 0.8262 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.0001862/0.4225, allocations: 105 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004903/0.423, allocations: 71.95 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4231, allocations: 0 / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.4233, allocations: 39.91 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/0.424, allocations: 24.67 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.4248, allocations: 207 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.4252, allocations: 0.6963 MB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.4254, allocations: 12.67 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.4255, allocations: 11.44 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4255, allocations: 0 / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of Templates: time 0.005354/0.4308, allocations: 1.459 MB / 1.077 GB, free: 1.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches