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.008397/0.008397, allocations: 102.3 kB / 15.73 MB, free: 5.988 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.002135/0.002135, allocations: 196.9 kB / 16.67 MB, free: 5.91 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.176/2.176, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 67.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203/1.204, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002403/1.207, allocations: 1.269 MB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005745/1.207, allocations: 284.2 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/1.207, allocations: 0 / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/1.207, allocations: 4.609 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/1.207, allocations: 5.625 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/1.208, allocations: 55.92 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.937e-05/1.208, allocations: 14.3 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/1.208, allocations: 6.016 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/1.208, allocations: 8.953 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/1.208, allocations: 8.922 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/1.208, allocations: 1.125 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/1.208, allocations: 61.59 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/1.208, allocations: 5.594 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/1.208, allocations: 9 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/1.208, allocations: 47.33 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.208, allocations: 0 / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.711e-05/1.208, allocations: 0.5625 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.772e-06/1.208, allocations: 1.281 kB / 1.089 GB, free: 4.102 MB / 0.8575 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.0003463/1.209, allocations: 339.1 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.209, allocations: 9.562 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/1.209, allocations: 32.36 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/1.209, allocations: 21.64 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.913e-05/1.209, allocations: 165.6 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.209, allocations: 5.344 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/1.209, allocations: 3.172 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/1.209, allocations: 44.91 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/1.209, allocations: 4.906 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/1.209, allocations: 0 / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/1.209, allocations: 1.188 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.775e-05/1.209, allocations: 23.03 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/1.209, allocations: 153.5 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/1.211, allocations: 269.8 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/1.211, allocations: 19.19 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/1.211, allocations: 0.6562 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/1.211, allocations: 31.66 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/1.211, allocations: 0.9375 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001781/1.212, allocations: 73.95 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/1.212, allocations: 51.41 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.465e-05/1.212, allocations: 96.91 kB / 1.09 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/1.212, allocations: 30.31 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.571e-05/1.212, allocations: 80.14 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/1.212, allocations: 11.3 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/1.212, allocations: 18.03 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/1.212, allocations: 312.2 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/1.212, allocations: 9.703 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/1.212, allocations: 5.875 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/1.212, allocations: 33.98 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.212, allocations: 0.6094 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.68e-05/1.212, allocations: 59.83 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.212, allocations: 9.562 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.212, allocations: 0 / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/1.212, allocations: 0.6562 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/1.212, allocations: 10.45 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.212, allocations: 5 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/1.212, allocations: 0.6094 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/1.212, allocations: 2.062 kB / 1.091 GB, free: 2.387 MB / 0.8575 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 5.186e-05/1.212, allocations: 111.8 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/1.212, allocations: 9.656 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/1.212, allocations: 8.016 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.212, allocations: 2.234 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.212, allocations: 0 / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.212, allocations: 0 / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.084e-05/1.213, allocations: 155 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.213, allocations: 0 / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/1.213, allocations: 14.61 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.213, allocations: 3.938 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.213, allocations: 9.578 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.213, allocations: 0 / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.213, allocations: 1.703 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.901e-05/1.213, allocations: 74.08 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/1.213, allocations: 84.67 kB / 1.091 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/1.213, allocations: 3.938 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/1.213, allocations: 2.297 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/1.213, allocations: 10.8 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/1.213, allocations: 1.594 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.95e-05/1.213, allocations: 77.48 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.213, allocations: 0 / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002028/1.213, allocations: 4.875 kB / 1.092 GB, free: 1.785 MB / 0.8575 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.0002719/1.213, allocations: 0.6204 MB / 1.092 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001122/1.214, allocations: 25.73 kB / 1.092 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.214, allocations: 0 / 1.092 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/1.214, allocations: 14.25 kB / 1.092 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/1.214, allocations: 12.14 kB / 1.092 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/1.214, allocations: 158.8 kB / 1.092 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/1.215, allocations: 0.6744 MB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.127e-05/1.215, allocations: 3.672 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/1.215, allocations: 8.781 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/1.215, allocations: 4 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/1.232, allocations: 1.317 MB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/8.577, allocations: 10.12 kB / 1.094 GB, free: 15.92 MB / 0.8731 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