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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.0009574/0.0009574, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.203/1.203, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.073/2.073, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5168, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002549/0.5194, allocations: 1.703 MB / 0.9509 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005915/0.52, allocations: 404.5 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.439e-05/0.5201, allocations: 2.562 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.169e-05/0.5202, allocations: 7.922 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.5203, allocations: 22.28 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.5207, allocations: 118.8 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.5208, allocations: 114.1 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.5209, allocations: 45.45 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.521, allocations: 38.7 kB / 0.9516 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.5211, allocations: 40.06 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.5211, allocations: 8.344 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.5212, allocations: 59.23 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.5212, allocations: 27.61 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.5213, allocations: 46.58 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.5215, allocations: 124.2 kB / 0.9519 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5215, allocations: 4 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5215, allocations: 0.7188 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5215, allocations: 0 / 0.9519 GB, free: 7.074 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.0004613/0.522, allocations: 422.3 kB / 0.9523 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.522, allocations: 9.688 kB / 0.9523 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.522, allocations: 37.44 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.5223, allocations: 29.06 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.5224, allocations: 201.5 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.5225, allocations: 34.52 kB / 0.9526 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.5225, allocations: 9.438 kB / 0.9526 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.5228, allocations: 110.9 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.5228, allocations: 0 / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5228, allocations: 1.25 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5228, allocations: 2.312 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.523, allocations: 78.22 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.5237, allocations: 388 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.5242, allocations: 134 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.5243, allocations: 45.34 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.5243, allocations: 1.375 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.5243, allocations: 30.56 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5243, allocations: 1.531 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003868/0.5247, allocations: 130.7 kB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.5247, allocations: 60.64 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/0.5248, allocations: 139.5 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.5249, allocations: 31.17 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.5249, allocations: 104 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.5249, allocations: 30.31 kB / 0.9539 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.525, allocations: 19.09 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.525, allocations: 324.5 kB / 0.9542 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.5251, allocations: 23.73 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.606e-05/0.5252, allocations: 49.16 kB / 0.9542 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.5254, allocations: 77.09 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5254, allocations: 4 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000226/0.5256, allocations: 115.5 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5257, allocations: 5.625 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.5257, allocations: 0 / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5257, allocations: 5.031 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.5258, allocations: 18.08 kB / 0.9545 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.5258, allocations: 0 / 0.9545 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.5259, allocations: 17.36 kB / 0.9545 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.5259, allocations: 6.656 kB / 0.9545 GB, free: 4.742 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 5.586e-05/0.526, allocations: 118 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.526, allocations: 6.812 kB / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.526, allocations: 19.27 kB / 0.9546 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.526, allocations: 5.406 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5261, allocations: 0 / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5261, allocations: 0 / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.5262, allocations: 196.2 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5262, allocations: 1.469 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.642e-05/0.5263, allocations: 19.45 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5263, allocations: 1.219 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.5263, allocations: 0 / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5263, allocations: 5.125 kB / 0.9548 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5264, allocations: 7.984 kB / 0.9548 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.5266, allocations: 199.2 kB / 0.955 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.5266, allocations: 91.67 kB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.5266, allocations: 5.438 kB / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.5268, allocations: 13.92 kB / 0.9551 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.5268, allocations: 6.641 kB / 0.9552 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.5269, allocations: 2.875 kB / 0.9552 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.5269, allocations: 104.6 kB / 0.9553 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5269, allocations: 0 / 0.9553 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002506/0.5272, allocations: 21 kB / 0.9553 GB, free: 3.977 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.0003992/0.5276, allocations: 0.739 MB / 0.956 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.5278, allocations: 73.28 kB / 0.9561 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5278, allocations: 8 kB / 0.9561 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.5279, allocations: 39.27 kB / 0.9561 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.5283, allocations: 34.52 kB / 0.9561 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.5297, allocations: 1.561 MB / 0.9577 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.763e-05/0.5298, allocations: 0.7004 MB / 0.9584 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.528e-05/0.5299, allocations: 8.266 kB / 0.9584 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.5299, allocations: 30.95 kB / 0.9584 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5299, allocations: 0 / 0.9584 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.5415, allocations: 2.548 MB / 0.9609 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.5417, allocations: 217.4 kB / 0.9611 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.14, allocations: 1.062 kB / 0.9611 GB, free: 15.55 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > 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