Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001245/0.001249, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001339/0.001339, allocations: 192.4 kB / 16.25 MB, free: 6.152 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.242/1.242, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.135/2.135, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5384, allocations: 140.4 MB / 0.9492 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001882/0.5404, allocations: 1.32 MB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004027/0.5408, allocations: 294.6 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.5408, allocations: 0 / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.5408, allocations: 0 / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.725e-05/0.5409, allocations: 5.156 kB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.5411, allocations: 44.22 kB / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.5411, allocations: 20.64 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.5412, allocations: 5.625 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.5412, allocations: 8.375 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.5413, allocations: 8.016 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.5413, allocations: 0 / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.5414, allocations: 57.84 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.5414, allocations: 4 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.5414, allocations: 8.281 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.5415, allocations: 46.48 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5415, allocations: 3.938 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5416, allocations: 3.938 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5416, allocations: 5.719 kB / 0.951 GB, free: 7.66 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.0002365/0.5418, allocations: 338.6 kB / 0.9513 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.5418, allocations: 9.5 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.081e-05/0.5419, allocations: 38.73 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.5421, allocations: 17.27 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.221e-05/0.5421, allocations: 164.3 kB / 0.9516 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.5421, allocations: 1.75 kB / 0.9516 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.5421, allocations: 1.75 kB / 0.9516 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.041e-05/0.5422, allocations: 45.12 kB / 0.9516 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.5422, allocations: 3.938 kB / 0.9516 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.5422, allocations: 5.359 kB / 0.9516 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.5423, allocations: 0 / 0.9516 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.5423, allocations: 17.56 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.225e-05/0.5424, allocations: 157.8 kB / 0.9518 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.5441, allocations: 265.4 kB / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.5442, allocations: 24.47 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.5442, allocations: 1.625 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.5442, allocations: 30.56 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5442, allocations: 5.406 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001332/0.5443, allocations: 68.31 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.5444, allocations: 52.41 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.015e-05/0.5444, allocations: 90.86 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.5444, allocations: 26.67 kB / 0.9523 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-06/0.5444, allocations: 80.14 kB / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.5445, allocations: 17.41 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.5445, allocations: 17.08 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.333e-05/0.5445, allocations: 316.7 kB / 0.9527 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.5445, allocations: 8.719 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.5446, allocations: 11.83 kB / 0.9528 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.5446, allocations: 24.39 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5446, allocations: 3.938 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.307e-05/0.5447, allocations: 61.55 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5447, allocations: 9.719 kB / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5447, allocations: 0 / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.5447, allocations: 0 / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.5448, allocations: 9.156 kB / 0.9529 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5448, allocations: 1.25 kB / 0.9529 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.5448, allocations: 0 / 0.9529 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.5448, allocations: 5.25 kB / 0.9529 GB, free: 5.848 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 3.972e-05/0.5449, allocations: 112.8 kB / 0.953 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.5449, allocations: 7.844 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.5449, allocations: 12.83 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.5449, allocations: 0 / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5449, allocations: 1.25 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.5449, allocations: 4 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.516e-05/0.545, allocations: 154.9 kB / 0.9531 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.545, allocations: 0 / 0.9531 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.5451, allocations: 12.91 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5451, allocations: 5.406 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.5451, allocations: 0 / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5451, allocations: 0 / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5451, allocations: 1.375 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.091e-05/0.5452, allocations: 81.62 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.5452, allocations: 82.25 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.5452, allocations: 5.188 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.5453, allocations: 1.406 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.5453, allocations: 1.219 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.5453, allocations: 1.375 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.49e-05/0.5453, allocations: 76.38 kB / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5453, allocations: 0 / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001831/0.5455, allocations: 10.66 kB / 0.9534 GB, free: 5.234 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 (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 Backend phase and start with SimCode phase: time 0.0001938/0.5457, allocations: 0.6215 MB / 0.954 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8e-05/0.5458, allocations: 23.61 kB / 0.954 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5458, allocations: 0 / 0.954 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/0.5458, allocations: 19.72 kB / 0.9541 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.546, allocations: 17.52 kB / 0.9541 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.5463, allocations: 162.6 kB / 0.9542 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/0.5464, allocations: 0.6765 MB / 0.9549 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.389e-05/0.5465, allocations: 5.406 kB / 0.9549 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.5465, allocations: 10.09 kB / 0.9549 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5465, allocations: 0 / 0.9549 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009774/0.5563, allocations: 1.218 MB / 0.9561 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001177/0.5564, allocations: 213.8 kB / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/2.038, allocations: 0 / 0.9563 GB, free: 2.824 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches