Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001074/0.001074, 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.001036/0.001036, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.178/2.178, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 55.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5651, allocations: 140.4 MB / 0.949 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001905/0.5671, allocations: 1.334 MB / 0.9504 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.5682, allocations: 0.8914 MB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.245e-05/0.5682, allocations: 4 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.5682, allocations: 3.938 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.5683, allocations: 1.219 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.5687, allocations: 146.9 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.614e-05/0.5687, allocations: 20.47 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.5688, allocations: 10.44 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.5688, allocations: 11.84 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.535e-05/0.5688, allocations: 7.609 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.5689, allocations: 0 / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.5691, allocations: 195.5 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.5691, allocations: 3.938 kB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.5692, allocations: 11.92 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.5694, allocations: 154.1 kB / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5694, allocations: 1.031 kB / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.52e-07/0.5694, allocations: 0 / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.5694, allocations: 0 / 0.9518 GB, free: 7.039 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002738/0.5697, allocations: 362.2 kB / 0.9521 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.5697, allocations: 9.438 kB / 0.9521 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.051e-05/0.5697, allocations: 35.84 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.5699, allocations: 14.14 kB / 0.9522 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.815e-05/0.5699, allocations: 162 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.57, allocations: 384 / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.57, allocations: 5.094 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.589e-05/0.5701, allocations: 41.62 kB / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.5701, allocations: 0 / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.5701, allocations: 4 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.5701, allocations: 1.219 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.382e-05/0.5701, allocations: 16.83 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.238e-05/0.5702, allocations: 158.7 kB / 0.9525 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008635/0.5711, allocations: 142.2 kB / 0.9527 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.5712, allocations: 20.53 kB / 0.9527 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.5712, allocations: 82.05 kB / 0.9528 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.5713, allocations: 31.66 kB / 0.9528 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.5713, allocations: 0 / 0.9528 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001439/0.5714, allocations: 73.45 kB / 0.9529 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.5714, allocations: 52.75 kB / 0.9529 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.169e-05/0.5715, allocations: 95.17 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.5715, allocations: 25.7 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.776e-06/0.5715, allocations: 81.58 kB / 0.9531 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.5715, allocations: 13.34 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.5716, allocations: 17.8 kB / 0.9531 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.41e-05/0.5716, allocations: 314.8 kB / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.5716, allocations: 4.625 kB / 0.9535 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.5716, allocations: 8.75 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.518e-05/0.5717, allocations: 33.19 kB / 0.9535 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5717, allocations: 0 / 0.9535 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.486e-05/0.5718, allocations: 60.39 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5718, allocations: 5.281 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5718, allocations: 1.25 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.5718, allocations: 0 / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.5719, allocations: 6.875 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5719, allocations: 0 / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.5719, allocations: 7.875 kB / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.5719, allocations: 9.438 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 4.35e-05/0.572, allocations: 116.2 kB / 0.9537 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.572, allocations: 5.594 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.5722, allocations: 78.39 kB / 0.9538 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5722, allocations: 4 kB / 0.9538 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5722, allocations: 1.125 kB / 0.9538 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5722, allocations: 0 / 0.9538 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.313e-05/0.5723, allocations: 164.4 kB / 0.9539 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5723, allocations: 0 / 0.9539 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.5724, allocations: 6.906 kB / 0.9539 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5724, allocations: 3.984 kB / 0.9539 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.5724, allocations: 5.094 kB / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5724, allocations: 1.188 kB / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5724, allocations: 0 / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.086e-05/0.5725, allocations: 97.56 kB / 0.954 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.5725, allocations: 78.89 kB / 0.9541 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.5725, allocations: 5 kB / 0.9541 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.5726, allocations: 9.391 kB / 0.9541 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.5726, allocations: 1.594 kB / 0.9541 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.5726, allocations: 1.531 kB / 0.9541 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.447e-05/0.5726, allocations: 80.81 kB / 0.9542 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5726, allocations: 0 / 0.9542 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002279/0.5729, allocations: 48.12 kB / 0.9543 GB, free: 4.461 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 (5): * Single equations (assignments): 5 * 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.0004841/0.5734, allocations: 0.6888 MB / 0.9549 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.88e-05/0.5735, allocations: 32.02 kB / 0.955 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5735, allocations: 4 kB / 0.955 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.5735, allocations: 14.81 kB / 0.955 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.5737, allocations: 3.312 kB / 0.955 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.574, allocations: 181.5 kB / 0.9552 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.383e-05/0.5741, allocations: 0.6813 MB / 0.9558 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.961e-05/0.5742, allocations: 12.38 kB / 0.9558 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.5742, allocations: 14.33 kB / 0.9558 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.5742, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009798/0.584, allocations: 1.806 MB / 0.9576 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/0.5842, allocations: 269.9 kB / 0.9579 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.336, allocations: 2.25 kB / 0.9579 GB, free: 1.676 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches