Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_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.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.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007159/0.007159, allocations: 101.8 kB / 15.73 MB, free: 6.059 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.001824/0.001824, allocations: 190.7 kB / 16.67 MB, free: 5.969 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.433/2.433, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 1.018 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.9247, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003019/0.9278, allocations: 1.912 MB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1815/1.109, allocations: 155.4 MB / 1.32 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/1.11, allocations: 4 kB / 1.32 GB, free: 5.848 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/1.11, allocations: 23.73 kB / 1.32 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003583/1.11, allocations: 71.41 kB / 1.32 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/1.111, allocations: 271.1 kB / 1.321 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/1.111, allocations: 271.1 kB / 1.321 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/1.112, allocations: 66.39 kB / 1.321 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/1.113, allocations: 244 kB / 1.321 GB, free: 4.941 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/1.113, allocations: 99.55 kB / 1.321 GB, free: 4.844 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/1.113, allocations: 20 kB / 1.321 GB, free: 4.824 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/1.113, allocations: 179.8 kB / 1.321 GB, free: 4.648 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.567e-05/1.114, allocations: 47.81 kB / 1.321 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/1.114, allocations: 91.53 kB / 1.322 GB, free: 4.512 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004638/1.114, allocations: 287.4 kB / 1.322 GB, free: 4.234 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.114, allocations: 0 / 1.322 GB, free: 4.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/1.114, allocations: 0 / 1.322 GB, free: 4.234 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.114, allocations: 0 / 1.322 GB, free: 4.234 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009759/1.115, allocations: 0.5297 MB / 1.322 GB, free: 3.656 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.115, allocations: 8.031 kB / 1.322 GB, free: 3.648 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/1.116, allocations: 91.7 kB / 1.322 GB, free: 3.559 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/1.116, allocations: 235.8 kB / 1.323 GB, free: 3.289 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.249e-05/1.116, allocations: 38.03 kB / 1.323 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/1.116, allocations: 20 kB / 1.323 GB, free: 3.227 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/1.117, allocations: 258.6 kB / 1.323 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/1.117, allocations: 3.938 kB / 1.323 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/1.117, allocations: 11.94 kB / 1.323 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.117, allocations: 8 kB / 1.323 GB, free: 2.922 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/1.118, allocations: 163.8 kB / 1.323 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/1.119, allocations: 1.184 MB / 1.324 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/1.12, allocations: 206.6 kB / 1.324 GB, free: 1.289 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/1.12, allocations: 68.81 kB / 1.325 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/1.12, allocations: 4 kB / 1.325 GB, free: 1.215 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/1.12, allocations: 30.56 kB / 1.325 GB, free: 1.176 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 2.254e-06/1.12, allocations: 0 / 1.325 GB, free: 1.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.002488/1.123, allocations: 0.6337 MB / 1.325 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/1.123, allocations: 51.41 kB / 1.325 GB, free: 440 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/1.123, allocations: 218.7 kB / 1.325 GB, free: 212 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/1.123, allocations: 33.7 kB / 1.326 GB, free: 172 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/1.123, allocations: 140.2 kB / 1.326 GB, free: 28 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/1.123, allocations: 35.73 kB / 1.326 GB, free: 15.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/1.123, allocations: 49.59 kB / 1.326 GB, free: 15.94 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.124, allocations: 342.7 kB / 1.326 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/1.124, allocations: 67.95 kB / 1.326 GB, free: 15.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/1.124, allocations: 133.3 kB / 1.326 GB, free: 15.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/1.124, allocations: 195.5 kB / 1.326 GB, free: 15.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.124, allocations: 0 / 1.326 GB, free: 15.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001399/1.126, allocations: 379.8 kB / 1.327 GB, free: 14.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.126, allocations: 4 kB / 1.327 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.126, allocations: 4 kB / 1.327 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.127, allocations: 161.8 kB / 1.327 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/1.127, allocations: 35.91 kB / 1.327 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/1.132, allocations: 3.266 MB / 1.33 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/1.132, allocations: 31.83 kB / 1.33 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/1.132, allocations: 15.92 kB / 1.33 GB, free: 10.97 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001648/1.132, allocations: 133.8 kB / 1.33 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/1.132, allocations: 19.91 kB / 1.33 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/1.133, allocations: 378.2 kB / 1.331 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.133, allocations: 0 / 1.331 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/1.133, allocations: 0 / 1.331 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.133, allocations: 0 / 1.331 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/1.134, allocations: 285.3 kB / 1.331 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.134, allocations: 0 / 1.331 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/1.134, allocations: 19.98 kB / 1.331 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007737/1.135, allocations: 137.6 kB / 1.331 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/1.135, allocations: 8 kB / 1.331 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003735/1.138, allocations: 3.301 MB / 1.334 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.139, allocations: 0 / 1.334 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/1.14, allocations: 436.8 kB / 1.335 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/1.14, allocations: 112.9 kB / 1.335 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/1.14, allocations: 4 kB / 1.335 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/1.14, allocations: 11.98 kB / 1.335 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/1.14, allocations: 23.91 kB / 1.335 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/1.14, allocations: 12 kB / 1.335 GB, free: 5.711 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001968/1.141, allocations: 163.1 kB / 1.335 GB, free: 5.551 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.141, allocations: 0 / 1.335 GB, free: 5.551 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004295/1.141, allocations: 71.94 kB / 1.335 GB, free: 5.48 MB / 1.061 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002166/1.141, allocations: 115.2 kB / 1.335 GB, free: 5.355 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001056/1.142, allocations: 443.1 kB / 1.336 GB, free: 4.898 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.142, allocations: 3.938 kB / 1.336 GB, free: 4.895 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006518/1.143, allocations: 365.1 kB / 1.336 GB, free: 4.512 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/1.143, allocations: 63.89 kB / 1.336 GB, free: 4.449 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009844/1.144, allocations: 430.8 kB / 1.337 GB, free: 4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/1.145, allocations: 0.7324 MB / 1.337 GB, free: 3.242 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000171/1.145, allocations: 37.88 kB / 1.337 GB, free: 3.207 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/1.145, allocations: 23.42 kB / 1.337 GB, free: 3.184 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.145, allocations: 0 / 1.337 GB, free: 3.184 MB / 1.061 GB Notification: Performance of Templates: time 0.00945/1.154, allocations: 5.366 MB / 1.343 GB, free: 13.88 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches