Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001458/0.001458, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001639/0.001639, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9312, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003282/0.9346, allocations: 1.917 MB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2087/1.143, allocations: 155.4 MB / 1.242 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/1.144, allocations: 2.75 kB / 1.242 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002469/1.144, allocations: 29.05 kB / 1.242 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004729/1.144, allocations: 79.78 kB / 1.242 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/1.145, allocations: 263.7 kB / 1.243 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004893/1.146, allocations: 271.7 kB / 1.243 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/1.146, allocations: 66.73 kB / 1.243 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/1.148, allocations: 254.7 kB / 1.243 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/1.148, allocations: 89.17 kB / 1.243 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/1.148, allocations: 14.81 kB / 1.243 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/1.149, allocations: 187.5 kB / 1.243 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/1.149, allocations: 44.17 kB / 1.243 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/1.149, allocations: 94.77 kB / 1.244 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/1.15, allocations: 283.5 kB / 1.244 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.15, allocations: 4 kB / 1.244 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/1.15, allocations: 0 / 1.244 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.148e-06/1.15, allocations: 1.188 kB / 1.244 GB, free: 13.91 MB / 0.9825 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.001272/1.151, allocations: 0.5263 MB / 1.244 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.151, allocations: 9.406 kB / 1.244 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/1.152, allocations: 81.8 kB / 1.244 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/1.152, allocations: 232.7 kB / 1.245 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.163e-05/1.152, allocations: 37.81 kB / 1.245 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/1.152, allocations: 14.88 kB / 1.245 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/1.153, allocations: 267.5 kB / 1.245 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.153, allocations: 1.406 kB / 1.245 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/1.153, allocations: 7.031 kB / 1.245 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/1.153, allocations: 7.797 kB / 1.245 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/1.154, allocations: 173.1 kB / 1.245 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/1.155, allocations: 1.185 MB / 1.246 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/1.156, allocations: 199.1 kB / 1.246 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/1.156, allocations: 75.28 kB / 1.247 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/1.157, allocations: 5.344 kB / 1.247 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.157, allocations: 39.78 kB / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/1.157, allocations: 0 / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002859/1.159, allocations: 0.6284 MB / 1.247 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/1.159, allocations: 52.81 kB / 1.247 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/1.16, allocations: 218.7 kB / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/1.16, allocations: 25.7 kB / 1.248 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/1.16, allocations: 147.9 kB / 1.248 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/1.16, allocations: 35.45 kB / 1.248 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/1.16, allocations: 49.59 kB / 1.248 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.16, allocations: 334.7 kB / 1.248 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/1.16, allocations: 71.88 kB / 1.248 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/1.161, allocations: 131.7 kB / 1.248 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/1.161, allocations: 201.2 kB / 1.248 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.161, allocations: 0 / 1.248 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001474/1.163, allocations: 370.8 kB / 1.249 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.163, allocations: 8.219 kB / 1.249 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.163, allocations: 4 kB / 1.249 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/1.164, allocations: 157.5 kB / 1.249 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/1.164, allocations: 39.95 kB / 1.249 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/1.168, allocations: 3.247 MB / 1.252 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/1.168, allocations: 43.84 kB / 1.252 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/1.168, allocations: 8 kB / 1.252 GB, free: 5.578 MB / 0.9825 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.0001559/1.169, allocations: 133.7 kB / 1.252 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/1.169, allocations: 15.81 kB / 1.252 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/1.17, allocations: 378.2 kB / 1.253 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.17, allocations: 0 / 1.253 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/1.17, allocations: 0 / 1.253 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.17, allocations: 4 kB / 1.253 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/1.17, allocations: 277.4 kB / 1.253 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.17, allocations: 0 / 1.253 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/1.171, allocations: 23.98 kB / 1.253 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008235/1.171, allocations: 141.5 kB / 1.253 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/1.171, allocations: 4 kB / 1.253 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/1.175, allocations: 3.3 MB / 1.256 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.175, allocations: 3.938 kB / 1.256 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.176, allocations: 436.6 kB / 1.257 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/1.177, allocations: 116.8 kB / 1.257 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/1.177, allocations: 8 kB / 1.257 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/1.177, allocations: 15.97 kB / 1.257 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/1.177, allocations: 15.98 kB / 1.257 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/1.177, allocations: 4 kB / 1.257 GB, free: 336 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001773/1.177, allocations: 159.2 kB / 1.257 GB, free: 176 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.177, allocations: 0 / 1.257 GB, free: 176 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004515/1.178, allocations: 79.94 kB / 1.257 GB, free: 96 kB / 0.9825 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.000219/1.178, allocations: 107.8 kB / 1.257 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001178/1.179, allocations: 449.5 kB / 1.258 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.179, allocations: 0 / 1.258 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007237/1.18, allocations: 363.7 kB / 1.258 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/1.18, allocations: 68.06 kB / 1.258 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/1.181, allocations: 446.4 kB / 1.259 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/1.182, allocations: 0.7323 MB / 1.259 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/1.182, allocations: 27.36 kB / 1.259 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.182, allocations: 4 kB / 1.259 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.007855/1.19, allocations: 4.422 MB / 1.264 GB, free: 9.398 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches