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.00168/0.00168, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.001531/0.001532, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.58/1.58, 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.48/2.48, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.049, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00303/1.052, allocations: 1.92 MB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2184/1.271, allocations: 155.4 MB / 1.242 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/1.271, allocations: 1.375 kB / 1.242 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/1.272, allocations: 25.11 kB / 1.242 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004244/1.272, allocations: 85.16 kB / 1.242 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/1.273, allocations: 254.3 kB / 1.243 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004408/1.274, allocations: 265.1 kB / 1.243 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/1.274, allocations: 72.31 kB / 1.243 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/1.275, allocations: 258.3 kB / 1.243 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/1.276, allocations: 93.72 kB / 1.243 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/1.276, allocations: 19.09 kB / 1.243 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/1.276, allocations: 179 kB / 1.243 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/1.276, allocations: 43.88 kB / 1.243 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/1.276, allocations: 98.31 kB / 1.244 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005006/1.277, allocations: 279.4 kB / 1.244 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.277, allocations: 1.062 kB / 1.244 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.562e-06/1.277, allocations: 0 / 1.244 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.277, allocations: 0 / 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.001007/1.278, allocations: 0.5273 MB / 1.244 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.278, allocations: 8.812 kB / 1.244 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/1.279, allocations: 81.05 kB / 1.244 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/1.279, allocations: 234.9 kB / 1.245 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-05/1.279, allocations: 46.19 kB / 1.245 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/1.279, allocations: 14.56 kB / 1.245 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/1.28, allocations: 267.9 kB / 1.245 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.28, allocations: 5.031 kB / 1.245 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/1.28, allocations: 6.344 kB / 1.245 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/1.28, allocations: 4.469 kB / 1.245 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/1.28, allocations: 169.3 kB / 1.245 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/1.282, allocations: 1.185 MB / 1.246 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007547/1.283, allocations: 207.8 kB / 1.247 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/1.283, allocations: 78.59 kB / 1.247 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/1.283, allocations: 1.344 kB / 1.247 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.283, allocations: 31.78 kB / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/1.283, allocations: 4 kB / 1.247 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002736/1.286, allocations: 0.6261 MB / 1.247 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.286, allocations: 55.39 kB / 1.247 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/1.286, allocations: 215 kB / 1.247 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/1.286, allocations: 25.7 kB / 1.248 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/1.286, allocations: 140 kB / 1.248 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/1.286, allocations: 43.45 kB / 1.248 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.287, allocations: 53.53 kB / 1.248 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.287, allocations: 326.8 kB / 1.248 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/1.287, allocations: 75.88 kB / 1.248 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/1.287, allocations: 137.1 kB / 1.248 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/1.288, allocations: 194.7 kB / 1.248 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.288, allocations: 4 kB / 1.248 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001454/1.289, allocations: 366.8 kB / 1.249 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.289, allocations: 4 kB / 1.249 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.289, allocations: 4 kB / 1.249 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/1.29, allocations: 165.7 kB / 1.249 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/1.291, allocations: 39.91 kB / 1.249 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/1.295, allocations: 3.252 MB / 1.252 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/1.295, allocations: 39.78 kB / 1.252 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/1.295, allocations: 4 kB / 1.252 GB, free: 5.547 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.000159/1.295, allocations: 137.8 kB / 1.252 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/1.295, allocations: 15.81 kB / 1.252 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.297, allocations: 376.1 kB / 1.253 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.297, allocations: 0 / 1.253 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.297, allocations: 3.984 kB / 1.253 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/1.297, allocations: 112.8 kB / 1.253 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/1.297, allocations: 4 kB / 1.253 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/1.297, allocations: 15.98 kB / 1.253 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/1.297, allocations: 19.97 kB / 1.253 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001179/1.298, allocations: 378.2 kB / 1.253 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007155/1.299, allocations: 480.1 kB / 1.254 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001886/1.299, allocations: 73.98 kB / 1.254 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001912/1.3, allocations: 163.1 kB / 1.254 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of Backend: time 6.51e-07/1.3, allocations: 0 / 1.254 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001542/1.301, allocations: 0.5007 MB / 1.254 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0009458/1.302, allocations: 0.8318 MB / 1.255 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of Templates: time 0.01025/1.312, allocations: 4.993 MB / 1.26 GB, free: 13.36 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