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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_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.007987/0.007987, allocations: 98.42 kB / 15.73 MB, free: 5.547 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.001928/0.001928, allocations: 192 kB / 16.67 MB, free: 5.48 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 482.6 MB / 0.7551 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 68.48 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3039, allocations: 162.3 MB / 1.242 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00267/0.3066, allocations: 1.659 MB / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007121/0.3073, allocations: 406.7 kB / 1.244 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.3074, allocations: 4 kB / 1.244 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9e-05/0.3075, allocations: 11.86 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.3075, allocations: 15.8 kB / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.3079, allocations: 134.7 kB / 1.244 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.3081, allocations: 103.6 kB / 1.244 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3082, allocations: 44.22 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.3083, allocations: 39.86 kB / 1.244 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.3084, allocations: 39.84 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.3084, allocations: 8 kB / 1.244 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3086, allocations: 63.95 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.3086, allocations: 27.89 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.3087, allocations: 47.67 kB / 1.244 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3089, allocations: 131.5 kB / 1.244 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3089, allocations: 0 / 1.244 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3089, allocations: 0 / 1.244 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3089, allocations: 0 / 1.244 GB, free: 6.176 MB / 0.9669 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.0005918/0.3095, allocations: 426.9 kB / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3096, allocations: 12.03 kB / 1.245 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.3096, allocations: 38.75 kB / 1.245 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.3098, allocations: 32.81 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3101, allocations: 192.2 kB / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/0.3101, allocations: 38.27 kB / 1.245 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.3102, allocations: 4.375 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.3104, allocations: 109.9 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3104, allocations: 0 / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3105, allocations: 4 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3105, allocations: 4 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.3107, allocations: 75.94 kB / 1.245 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.3114, allocations: 388.5 kB / 1.246 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.3119, allocations: 126.5 kB / 1.246 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3121, allocations: 40.88 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3121, allocations: 4 kB / 1.246 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3121, allocations: 42.56 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 4.369e-06/0.3122, allocations: 11.86 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000439/0.3126, allocations: 133.6 kB / 1.246 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3126, allocations: 63.28 kB / 1.246 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3128, allocations: 135.4 kB / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3128, allocations: 29.7 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.3129, allocations: 100 kB / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.3129, allocations: 23.78 kB / 1.246 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.313, allocations: 21.72 kB / 1.246 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3131, allocations: 318.8 kB / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.3132, allocations: 31.97 kB / 1.247 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3134, allocations: 49.84 kB / 1.247 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.3136, allocations: 77.67 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3136, allocations: 0 / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002911/0.3139, allocations: 109.5 kB / 1.247 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3139, allocations: 8 kB / 1.247 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3139, allocations: 4.031 kB / 1.247 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3139, allocations: 3.938 kB / 1.247 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3141, allocations: 15.98 kB / 1.247 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.3141, allocations: 4 kB / 1.247 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.3142, allocations: 15.88 kB / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3142, allocations: 0 / 1.247 GB, free: 3.285 MB / 0.9669 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 9.157e-05/0.3143, allocations: 113.8 kB / 1.247 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.3143, allocations: 7.953 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.3144, allocations: 24.7 kB / 1.247 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3144, allocations: 3.938 kB / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3144, allocations: 0 / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3144, allocations: 0 / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.3146, allocations: 197.6 kB / 1.247 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3146, allocations: 3.984 kB / 1.247 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3147, allocations: 12 kB / 1.247 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3148, allocations: 0 / 1.247 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3148, allocations: 11.98 kB / 1.247 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3148, allocations: 3.938 kB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3148, allocations: 4 kB / 1.247 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3151, allocations: 203.4 kB / 1.248 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.3152, allocations: 88.94 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3152, allocations: 4 kB / 1.248 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.3154, allocations: 11.92 kB / 1.248 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.3154, allocations: 11.98 kB / 1.248 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.3154, allocations: 8 kB / 1.248 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.24e-05/0.3155, allocations: 109.2 kB / 1.248 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3155, allocations: 0 / 1.248 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002373/0.3158, allocations: 23.94 kB / 1.248 GB, free: 2.367 MB / 0.9669 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.0006042/0.3164, allocations: 0.733 MB / 1.249 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.3166, allocations: 80 kB / 1.249 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3167, allocations: 0 / 1.249 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.3168, allocations: 40.06 kB / 1.249 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3171, allocations: 35.97 kB / 1.249 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.319, allocations: 1.54 MB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3193, allocations: 0.7001 MB / 1.251 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.757e-05/0.3194, allocations: 8.656 kB / 1.251 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.3195, allocations: 31.38 kB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.3195, allocations: 0 / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1951/0.5146, allocations: 2.736 MB / 1.254 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/8.821, allocations: 9.172 kB / 1.254 GB, free: 12.48 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches