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.007471/0.007471, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001694/0.001695, allocations: 190 kB / 16.67 MB, free: 5.516 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.308/1.308, 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 9.1.3-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7738/0.775, 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.002025/0.7771, allocations: 1.264 MB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004836/0.7776, allocations: 293 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.7776, allocations: 0 / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.7776, allocations: 4.453 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.7777, allocations: 6 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.7779, allocations: 47.42 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.778, allocations: 18.17 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.778, allocations: 11.39 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.7781, allocations: 5.297 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.7781, allocations: 16.66 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.7781, allocations: 0 / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.7783, allocations: 58.64 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.7783, allocations: 0.7969 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.7783, allocations: 12.52 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.7785, allocations: 47.78 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7785, allocations: 0 / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7785, allocations: 1.219 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.7785, allocations: 0 / 1.089 GB, free: 4.098 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.0002894/0.7788, allocations: 336.2 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.7788, allocations: 12.78 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.7789, allocations: 32.33 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.7791, allocations: 18.94 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.945e-05/0.7792, allocations: 162.1 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.7792, allocations: 9.344 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.7792, allocations: 1.438 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/0.7793, allocations: 46.05 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.7793, allocations: 3.938 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.7793, allocations: 5.094 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7793, allocations: 0 / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.7794, allocations: 16.22 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.7795, allocations: 153.3 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.7814, allocations: 269.5 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.7814, allocations: 22.78 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.7815, allocations: 0.9062 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.7815, allocations: 36.61 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7815, allocations: 0 / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001508/0.7816, allocations: 69.61 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.7817, allocations: 56.25 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.249e-05/0.7817, allocations: 95.38 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.7817, allocations: 27.19 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-06/0.7817, allocations: 80.14 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.7818, allocations: 11.22 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.7818, allocations: 17.55 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.667e-05/0.7818, allocations: 312.8 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.7819, allocations: 17.45 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.7819, allocations: 6.312 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.581e-05/0.7819, allocations: 33.83 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.782, allocations: 0 / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.334e-05/0.782, allocations: 56.22 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.782, allocations: 10.03 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7821, allocations: 0 / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.7821, allocations: 0 / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.7821, allocations: 7.312 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.7822, allocations: 7.875 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.7822, allocations: 6.016 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.7822, allocations: 1.375 kB / 1.091 GB, free: 2.379 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 4.223e-05/0.7822, allocations: 107.6 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.7823, allocations: 8.969 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.7823, allocations: 9.359 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7823, allocations: 0 / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7823, allocations: 1.062 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7823, allocations: 0.7969 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.173e-05/0.7824, allocations: 157.9 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.7824, allocations: 5.062 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.7825, allocations: 6.172 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.7825, allocations: 5.156 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.7825, allocations: 0 / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7825, allocations: 0.6562 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7825, allocations: 1.156 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.17e-05/0.7826, allocations: 77.84 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.7826, allocations: 84.06 kB / 1.091 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.7826, allocations: 5.672 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.7827, allocations: 9.875 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.7827, allocations: 1.812 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.7827, allocations: 1.922 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.344e-05/0.7827, allocations: 76.41 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7827, allocations: 0 / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001864/0.7829, allocations: 6.375 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.0002084/0.7831, allocations: 0.6172 MB / 1.092 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.655e-05/0.7832, allocations: 29.7 kB / 1.092 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7833, allocations: 0 / 1.092 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.7833, allocations: 14.19 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.000226/0.7835, allocations: 7.953 kB / 1.092 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.7839, allocations: 170.9 kB / 1.092 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.7842, allocations: 0.6749 MB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.202e-05/0.7842, allocations: 6.906 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.7843, allocations: 8.688 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.7843, allocations: 1.125 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.8006, allocations: 1.315 MB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/8.14, allocations: 15.62 kB / 1.094 GB, free: 15.91 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