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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 116 kB / 16.42 MB, free: 6.48 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.001589/0.001589, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.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.556/2.556, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001707, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8798, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00223/0.8821, allocations: 1.255 MB / 1.169 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005849/0.8827, allocations: 301.4 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.8827, allocations: 0 / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.8828, allocations: 0 / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.8e-05/0.8828, allocations: 7.922 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.8832, allocations: 55.75 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.8832, allocations: 15.92 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.8833, allocations: 7.938 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.8833, allocations: 8 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.8834, allocations: 7.984 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.8834, allocations: 0 / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.8835, allocations: 63.94 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.8836, allocations: 0 / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.8836, allocations: 7.938 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.8837, allocations: 51.69 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8837, allocations: 4 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8837, allocations: 0 / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.8838, allocations: 0 / 1.169 GB, free: 2.047 MB / 0.8887 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.0003625/0.8841, allocations: 340.1 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.8842, allocations: 8.922 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.8844, allocations: 16.92 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.94e-05/0.8845, allocations: 164.3 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.8845, allocations: 8.375 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.8845, allocations: 384 / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.8847, allocations: 42.25 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.8847, allocations: 192 / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.8847, allocations: 7.922 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.8847, allocations: 0 / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.265e-05/0.8848, allocations: 20 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.8849, allocations: 153.7 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.8867, allocations: 270.4 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.8868, allocations: 28.83 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.8868, allocations: 0 / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.8868, allocations: 38.56 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.8868, allocations: 0 / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001625/0.887, allocations: 69.58 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.887, allocations: 55.34 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/0.8871, allocations: 93.8 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.8871, allocations: 25.7 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.8872, allocations: 80.14 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.8872, allocations: 15.89 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.8873, allocations: 25.78 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.8874, allocations: 318.8 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.8874, allocations: 4 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.8874, allocations: 11.98 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.463e-05/0.8875, allocations: 24.86 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8875, allocations: 0 / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.67e-05/0.8876, allocations: 57.62 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8876, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8876, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8876, allocations: 7.938 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.8877, allocations: 8 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.8877, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.8877, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.8877, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 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.521e-05/0.8878, allocations: 113.8 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.8878, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.8879, allocations: 15.42 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8879, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8879, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.888, allocations: 81.11 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.888, allocations: 0 / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.888, allocations: 0 / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.8881, allocations: 7.984 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001278/0.8882, allocations: 132.9 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001475/0.8883, allocations: 227.1 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.028e-05/0.8884, allocations: 24.02 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.8884, allocations: 75.28 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of Backend: time 3.7e-07/0.8884, allocations: 0 / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.8889, allocations: 122.2 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004111/0.8893, allocations: 0.5527 MB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of Templates: time 0.002818/0.8921, allocations: 0.7577 MB / 1.173 GB, free: 13.75 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (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 & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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