Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001141, allocations: 173.2 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437.8 MB / 0.7128 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004011, allocations: 12 kB / 0.8735 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.67/0.6705, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.0008634/0.6714, allocations: 488.6 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.6723, allocations: 0.874 MB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.6724, allocations: 4 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.6724, allocations: 3.938 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.538e-05/0.6725, allocations: 19.84 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.6727, allocations: 31.97 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.6728, allocations: 95.69 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.6729, allocations: 15.98 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.673, allocations: 39.84 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.6731, allocations: 51.75 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.6731, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.6732, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.6732, allocations: 11.92 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.6732, allocations: 61.5 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.484e-05/0.6733, allocations: 61.81 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6733, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6734, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.6734, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006495/0.674, allocations: 399.2 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6741, allocations: 12.02 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.6741, allocations: 8.844 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.6742, allocations: 176.2 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6743, allocations: 8.312 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.6743, allocations: 8.375 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.6746, allocations: 127.9 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6747, allocations: 4.188 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.6747, allocations: 7.938 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6747, allocations: 3.938 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.6751, allocations: 123.8 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.6758, allocations: 432.6 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.6762, allocations: 133.1 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.6764, allocations: 73.72 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.6765, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.6765, allocations: 34.56 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.6765, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006978/0.6772, allocations: 209.4 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.6773, allocations: 81.11 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6774, allocations: 139.1 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6774, allocations: 25.7 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.6775, allocations: 100 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.6775, allocations: 23.59 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.6775, allocations: 17.72 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6777, allocations: 322.8 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.6779, allocations: 56.11 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.6781, allocations: 73.66 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.6784, allocations: 133.6 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6785, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004271/0.6789, allocations: 165.4 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6789, allocations: 8 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6789, allocations: 0 / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.6789, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.6791, allocations: 35.91 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6791, allocations: 160 / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.6793, allocations: 27.91 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.6793, allocations: 11.98 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 8.53e-05/0.6794, allocations: 122.3 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.6795, allocations: 7.906 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.68, allocations: 206 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.68, allocations: 8.031 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.68, allocations: 3.938 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.68, allocations: 7.938 kB / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.6803, allocations: 209.5 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6803, allocations: 4 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.6805, allocations: 31.97 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6805, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.6805, allocations: 4 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.6805, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6805, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.6811, allocations: 350.5 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.6811, allocations: 104.9 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.6812, allocations: 0 / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.6814, allocations: 19.98 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.6814, allocations: 11.92 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.6814, allocations: 8 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.013e-05/0.6815, allocations: 119.4 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6816, allocations: 3.938 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002765/0.6818, allocations: 16 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0001118/0.6819, allocations: 99.25 kB / 1.03 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.6824, allocations: 139.8 kB / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6824, allocations: 0 / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.6826, allocations: 79.89 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.6831, allocations: 19.98 kB / 1.03 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.6836, allocations: 285.7 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.6839, allocations: 0.7004 MB / 1.031 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.684, allocations: 19.38 kB / 1.031 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.684, allocations: 0 / 1.031 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of Templates: time 0.003086/0.687, allocations: 1.399 MB / 1.032 GB, free: 6.848 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches