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: "" <> 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.001463/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001749/0.001749, allocations: 192 kB / 16.14 MB, free: 6.707 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.198/2.198, allocations: 390.2 MB / 0.6643 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 55.91 kB / 0.812 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5883, allocations: 140.4 MB / 0.949 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00236/0.5907, allocations: 1.72 MB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000591/0.5913, allocations: 405.2 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.5913, allocations: 1.406 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.67e-05/0.5914, allocations: 9.25 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.5915, allocations: 22.48 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.5918, allocations: 106.2 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.5919, allocations: 112.6 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.5921, allocations: 41.55 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.5921, allocations: 34.2 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.5922, allocations: 44.3 kB / 0.9515 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.5922, allocations: 5.688 kB / 0.9515 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.5923, allocations: 61.16 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.5924, allocations: 18.33 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.5924, allocations: 38.64 kB / 0.9516 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.5926, allocations: 127.4 kB / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5926, allocations: 4 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5926, allocations: 0 / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.5926, allocations: 1.219 kB / 0.9517 GB, free: 7.129 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.000459/0.5931, allocations: 421.2 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.5931, allocations: 9.312 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.5932, allocations: 41.45 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.5934, allocations: 30.42 kB / 0.9522 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.5935, allocations: 192.6 kB / 0.9524 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.5936, allocations: 36 kB / 0.9524 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.5936, allocations: 12.44 kB / 0.9524 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.5939, allocations: 105.8 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.5939, allocations: 0.9062 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.5939, allocations: 0.9375 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5939, allocations: 2.094 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.5941, allocations: 82.09 kB / 0.9526 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.5947, allocations: 384.8 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.5952, allocations: 130.1 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.5953, allocations: 45.12 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.5953, allocations: 0 / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.5953, allocations: 32.78 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.5953, allocations: 0 / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003726/0.5957, allocations: 139.2 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.5957, allocations: 56.5 kB / 0.9533 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.5958, allocations: 135.6 kB / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.5958, allocations: 33.64 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.5959, allocations: 108 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.5959, allocations: 22.53 kB / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.5959, allocations: 19.44 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.596, allocations: 321.6 kB / 0.954 GB, free: 5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/0.5961, allocations: 31.69 kB / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.5962, allocations: 48.59 kB / 0.954 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.5964, allocations: 72.44 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5964, allocations: 0 / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002254/0.5966, allocations: 115.3 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5966, allocations: 6.281 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.5966, allocations: 0 / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.5967, allocations: 4.906 kB / 0.9542 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.5968, allocations: 25.72 kB / 0.9542 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.5968, allocations: 5.141 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.5969, allocations: 16.72 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5969, allocations: 2.438 kB / 0.9543 GB, free: 4.801 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.834e-05/0.597, allocations: 117.3 kB / 0.9544 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.597, allocations: 8.125 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.597, allocations: 19.58 kB / 0.9544 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.597, allocations: 3.938 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.597, allocations: 5.406 kB / 0.9544 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.597, allocations: 0 / 0.9544 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.5972, allocations: 199.5 kB / 0.9546 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5972, allocations: 1.031 kB / 0.9546 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.5973, allocations: 19.64 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5973, allocations: 5.094 kB / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.5973, allocations: 0 / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5973, allocations: 5.094 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5974, allocations: 0 / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.5976, allocations: 196.1 kB / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.5976, allocations: 87.83 kB / 0.9549 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.5976, allocations: 11.98 kB / 0.9549 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.5978, allocations: 15.14 kB / 0.9549 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.5978, allocations: 2.344 kB / 0.9549 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.5979, allocations: 6.469 kB / 0.9549 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.5979, allocations: 108.1 kB / 0.955 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5979, allocations: 0 / 0.955 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002315/0.5981, allocations: 20.38 kB / 0.9551 GB, free: 4.027 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.0003847/0.5985, allocations: 0.7391 MB / 0.9558 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.5988, allocations: 73.14 kB / 0.9559 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5988, allocations: 1.406 kB / 0.9559 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.5989, allocations: 37.8 kB / 0.9559 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.5992, allocations: 27.31 kB / 0.9559 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.6006, allocations: 1.57 MB / 0.9575 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.6007, allocations: 0.6965 MB / 0.9581 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.871e-05/0.6008, allocations: 6.703 kB / 0.9581 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.6008, allocations: 24.23 kB / 0.9582 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6008, allocations: 4.188 kB / 0.9582 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.6169, allocations: 2.479 MB / 0.9606 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.617, allocations: 218.8 kB / 0.9608 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.402, allocations: 0 / 0.9608 GB, free: 15.64 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