Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_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.00212/0.00212, allocations: 103.4 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.002587/0.002587, allocations: 198.5 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.813/2.813, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.876/3.876, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 66.19 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2541, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002412/0.2565, allocations: 1.325 MB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005312/0.2571, allocations: 299.1 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.2571, allocations: 0 / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2571, allocations: 3.938 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.2572, allocations: 3.938 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.2575, allocations: 47.83 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.651e-05/0.2576, allocations: 19.86 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.2576, allocations: 3.984 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.2577, allocations: 8 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.2577, allocations: 7.938 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.2577, allocations: 0 / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.2579, allocations: 59.95 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.2579, allocations: 3.984 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.2579, allocations: 4 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.258, allocations: 60.11 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.258, allocations: 0 / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2581, allocations: 0 / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.2581, allocations: 0 / 1.054 GB, free: 6.766 MB / 0.8106 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.0003436/0.2584, allocations: 327.6 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2585, allocations: 8.625 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.2585, allocations: 38.69 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.2587, allocations: 16.91 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.884e-05/0.2588, allocations: 172.3 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2588, allocations: 4.375 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.2589, allocations: 4.359 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.259, allocations: 42.25 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.259, allocations: 3.938 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.259, allocations: 4 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.259, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/0.2591, allocations: 19.98 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.2592, allocations: 153.7 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.2611, allocations: 270.4 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.2611, allocations: 16.86 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.2612, allocations: 11.94 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2612, allocations: 34.55 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2612, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000161/0.2614, allocations: 73.47 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.2614, allocations: 51.41 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.097e-05/0.2615, allocations: 89.86 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2615, allocations: 29.7 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.165e-05/0.2615, allocations: 84.27 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.2615, allocations: 7.906 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.2616, allocations: 17.72 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.2617, allocations: 314.8 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.2617, allocations: 4 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.2617, allocations: 8 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.2618, allocations: 28.84 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2618, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.965e-05/0.2619, allocations: 57.58 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2619, allocations: 13.34 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2619, allocations: 7.984 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2619, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.262, allocations: 4 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.262, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.262, allocations: 7.906 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.262, allocations: 4 kB / 1.056 GB, free: 4.641 MB / 0.8106 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 6.352e-05/0.2621, allocations: 105.8 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.2621, allocations: 4.266 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.2622, allocations: 15.5 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2622, allocations: 3.984 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2622, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2622, allocations: 3.984 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.977e-05/0.2623, allocations: 157.6 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2623, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.2624, allocations: 11.98 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2624, allocations: 3.938 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2624, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2624, allocations: 7.875 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2624, allocations: 4 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.608e-05/0.2625, allocations: 77.12 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.2626, allocations: 81.11 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2626, allocations: 11.92 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.2626, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.2627, allocations: 4 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.2627, allocations: 4 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.716e-05/0.2627, allocations: 79.28 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2627, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000187/0.2629, allocations: 8 kB / 1.057 GB, free: 3.973 MB / 0.8106 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.0003492/0.2633, allocations: 0.6201 MB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.973e-05/0.2634, allocations: 28 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2634, allocations: 4.094 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.2634, allocations: 15.92 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.2636, allocations: 8 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.2641, allocations: 152.4 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.2643, allocations: 0.6845 MB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.248e-05/0.2644, allocations: 7.859 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.2644, allocations: 7.438 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.2644, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08894/0.3534, allocations: 1.215 MB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000388/0.3539, allocations: 225.3 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/2.871, allocations: 1.375 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches