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.001689/0.001689, allocations: 112.1 kB / 16.41 MB, free: 5.926 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.001985/0.001985, allocations: 189.9 kB / 17.35 MB, free: 5.559 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.495/1.495, allocations: 222.9 MB / 241.1 MB, free: 15.06 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.651/2.651, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 64.31 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00425/1.112, allocations: 1.926 MB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1988/1.311, allocations: 155.4 MB / 1.321 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/1.311, allocations: 0 / 1.321 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/1.312, allocations: 31.66 kB / 1.321 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004341/1.312, allocations: 79.42 kB / 1.321 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/1.313, allocations: 255.2 kB / 1.321 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004392/1.313, allocations: 275 kB / 1.322 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/1.314, allocations: 70.39 kB / 1.322 GB, free: 5.211 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/1.315, allocations: 265.3 kB / 1.322 GB, free: 4.977 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/1.315, allocations: 87.61 kB / 1.322 GB, free: 4.891 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/1.315, allocations: 16 kB / 1.322 GB, free: 4.875 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/1.316, allocations: 187.7 kB / 1.322 GB, free: 4.691 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.587e-05/1.316, allocations: 47.81 kB / 1.322 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/1.316, allocations: 83.59 kB / 1.322 GB, free: 4.562 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/1.317, allocations: 287.4 kB / 1.323 GB, free: 4.285 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.317, allocations: 0 / 1.323 GB, free: 4.285 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.745e-06/1.317, allocations: 4 kB / 1.323 GB, free: 4.281 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.317, allocations: 7.938 kB / 1.323 GB, free: 4.273 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.00114/1.318, allocations: 0.5275 MB / 1.323 GB, free: 3.699 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.318, allocations: 12.03 kB / 1.323 GB, free: 3.688 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009061/1.319, allocations: 83.77 kB / 1.323 GB, free: 3.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/1.319, allocations: 234.7 kB / 1.323 GB, free: 3.336 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/1.319, allocations: 38.03 kB / 1.323 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/1.319, allocations: 16 kB / 1.323 GB, free: 3.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/1.32, allocations: 262.6 kB / 1.324 GB, free: 2.992 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.32, allocations: 4 kB / 1.324 GB, free: 2.988 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/1.32, allocations: 4 kB / 1.324 GB, free: 2.984 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/1.32, allocations: 4 kB / 1.324 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/1.32, allocations: 167.8 kB / 1.324 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/1.322, allocations: 1.188 MB / 1.325 GB, free: 1.551 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/1.323, allocations: 202.7 kB / 1.325 GB, free: 1.344 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/1.323, allocations: 68.81 kB / 1.325 GB, free: 1.273 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/1.323, allocations: 7.938 kB / 1.325 GB, free: 1.266 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/1.323, allocations: 42.5 kB / 1.325 GB, free: 1.215 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/1.323, allocations: 0 / 1.325 GB, free: 1.215 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.002721/1.326, allocations: 0.6298 MB / 1.326 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/1.326, allocations: 51.41 kB / 1.326 GB, free: 484 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/1.326, allocations: 214.7 kB / 1.326 GB, free: 260 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/1.326, allocations: 29.7 kB / 1.326 GB, free: 224 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/1.326, allocations: 152.2 kB / 1.326 GB, free: 68 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/1.326, allocations: 35.69 kB / 1.326 GB, free: 32 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/1.327, allocations: 49.64 kB / 1.326 GB, free: 15.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.327, allocations: 330.8 kB / 1.327 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/1.327, allocations: 67.94 kB / 1.327 GB, free: 15.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/1.327, allocations: 134.1 kB / 1.327 GB, free: 15.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/1.328, allocations: 199.8 kB / 1.327 GB, free: 15.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.328, allocations: 4 kB / 1.327 GB, free: 15.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001468/1.329, allocations: 374.8 kB / 1.328 GB, free: 14.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.329, allocations: 6.344 kB / 1.328 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.329, allocations: 4 kB / 1.328 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.33, allocations: 165.7 kB / 1.328 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/1.331, allocations: 31.97 kB / 1.328 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/1.335, allocations: 3.252 MB / 1.331 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/1.335, allocations: 35.83 kB / 1.331 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/1.335, allocations: 12.05 kB / 1.331 GB, free: 11.03 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.000171/1.335, allocations: 143.8 kB / 1.331 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/1.335, allocations: 19.84 kB / 1.331 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/1.337, allocations: 368.3 kB / 1.331 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/1.337, allocations: 4.172 kB / 1.331 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.337, allocations: 0 / 1.331 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/1.337, allocations: 112.9 kB / 1.332 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/1.337, allocations: 15.88 kB / 1.332 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/1.337, allocations: 15.98 kB / 1.332 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/1.337, allocations: 15.97 kB / 1.332 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001179/1.338, allocations: 391.5 kB / 1.332 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007181/1.339, allocations: 472.6 kB / 1.332 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001782/1.339, allocations: 75.95 kB / 1.332 GB, free: 9.359 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001992/1.34, allocations: 159.2 kB / 1.333 GB, free: 9.203 MB / 1.061 GB Notification: Performance of Backend: time 7.51e-07/1.34, allocations: 4 kB / 1.333 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001465/1.341, allocations: 0.497 MB / 1.333 GB, free: 8.672 MB / 1.061 GB Notification: Performance of SimCode: time 0.0008938/1.342, allocations: 0.842 MB / 1.334 GB, free: 7.777 MB / 1.061 GB Notification: Performance of Templates: time 0.01022/1.352, allocations: 4.996 MB / 1.339 GB, free: 2.812 MB / 1.061 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/jenkins1/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