Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_10_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.001071/0.001071, 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.001096/0.001096, allocations: 190.1 kB / 16.25 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 1.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.8688 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6718, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002964/0.6748, allocations: 1.331 MB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.6755, allocations: 279.2 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.6755, allocations: 3.938 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.6755, allocations: 0 / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.6756, allocations: 11.97 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.676, allocations: 43.83 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.56e-05/0.6761, allocations: 19.81 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.6761, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.6762, allocations: 15.97 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.6762, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.6762, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.6764, allocations: 51.95 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.6764, allocations: 3.938 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.6764, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.6766, allocations: 62.06 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.6766, allocations: 4 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6766, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.6766, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 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.0004195/0.677, allocations: 339.4 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.6771, allocations: 12.03 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.6771, allocations: 30.75 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.6774, allocations: 20.91 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.6775, allocations: 160.4 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.6775, allocations: 4.375 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.6775, allocations: 384 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.6776, allocations: 50.19 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6777, allocations: 3.938 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.6777, allocations: 0 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6777, allocations: 4 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.188e-05/0.6777, allocations: 15.98 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.6779, allocations: 153.7 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.6798, allocations: 274.4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.509e-05/0.6799, allocations: 16.86 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.6799, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.6799, allocations: 34.56 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.68, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.6801, allocations: 65.62 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.6802, allocations: 55.34 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.6802, allocations: 97.84 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.6803, allocations: 29.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.6803, allocations: 80.14 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.6803, allocations: 15.88 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.6804, allocations: 17.72 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6805, allocations: 310.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.6805, allocations: 15.98 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.6805, allocations: 7.938 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.6806, allocations: 24.86 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6806, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.857e-05/0.6807, allocations: 49.69 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6807, allocations: 11.94 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.6807, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.6807, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.6808, allocations: 11.98 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6808, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.6809, allocations: 8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.6809, allocations: 3.938 kB / 1.021 GB, free: 14.71 MB / 0.7794 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 7.365e-05/0.6809, allocations: 110.3 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.681, allocations: 11.84 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.681, allocations: 11.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.681, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.681, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.681, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.6811, allocations: 153.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6812, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.6812, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6812, allocations: 7.922 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.6812, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6812, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6812, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.6813, allocations: 89.06 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.6814, allocations: 77.48 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.6814, allocations: 7.875 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.6815, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.6815, allocations: 11.98 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.6815, allocations: 3.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.6816, allocations: 75.28 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6816, allocations: 4.094 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000182/0.6818, allocations: 8 kB / 1.021 GB, free: 14.04 MB / 0.7794 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.0003562/0.6821, allocations: 0.6124 MB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.6822, allocations: 27.92 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6822, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.6823, allocations: 23.98 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.6826, allocations: 9.625 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.683, allocations: 172.1 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.6832, allocations: 0.6768 MB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.442e-05/0.6833, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.6833, allocations: 11.44 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6833, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.6941, allocations: 1.208 MB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.6943, allocations: 212.8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.366, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches