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.001229/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001449/0.001449, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.558/2.558, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7926, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004283/0.797, allocations: 1.982 MB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1841/0.9811, allocations: 153.1 MB / 1.168 GB, free: 7.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.9814, allocations: 4 kB / 1.168 GB, free: 7.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.9817, allocations: 23.8 kB / 1.168 GB, free: 7.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.9821, allocations: 63.55 kB / 1.168 GB, free: 7.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.9831, allocations: 227.4 kB / 1.168 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.9835, allocations: 263.1 kB / 1.169 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.9837, allocations: 60.39 kB / 1.169 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002676/0.9864, allocations: 240.2 kB / 1.169 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.9866, allocations: 83.61 kB / 1.169 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.9867, allocations: 12 kB / 1.169 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005778/0.9873, allocations: 179.7 kB / 1.169 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.9874, allocations: 47.81 kB / 1.169 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.9876, allocations: 83.53 kB / 1.169 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.9881, allocations: 275.2 kB / 1.17 GB, free: 5.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9882, allocations: 4 kB / 1.17 GB, free: 5.578 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9882, allocations: 0 / 1.17 GB, free: 5.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.9882, allocations: 0 / 1.17 GB, free: 5.578 MB / 0.92 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.001498/0.9897, allocations: 0.5262 MB / 1.17 GB, free: 5.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.9897, allocations: 8.031 kB / 1.17 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.9914, allocations: 87.72 kB / 1.17 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.9918, allocations: 226.6 kB / 1.17 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.9919, allocations: 42.03 kB / 1.17 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.992, allocations: 16 kB / 1.17 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.993, allocations: 262.6 kB / 1.171 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.993, allocations: 0 / 1.171 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.9931, allocations: 12 kB / 1.171 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.9931, allocations: 4 kB / 1.171 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009185/0.994, allocations: 168.3 kB / 1.171 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.9968, allocations: 1.184 MB / 1.172 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.9982, allocations: 202.7 kB / 1.172 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.9986, allocations: 72.81 kB / 1.172 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.9986, allocations: 7.938 kB / 1.172 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.9987, allocations: 38.5 kB / 1.172 GB, free: 2.523 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.9987, allocations: 0 / 1.172 GB, free: 2.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.004945/1.004, allocations: 0.6219 MB / 1.173 GB, free: 1.852 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/1.004, allocations: 55.41 kB / 1.173 GB, free: 1.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/1.004, allocations: 214.9 kB / 1.173 GB, free: 1.566 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/1.004, allocations: 29.7 kB / 1.173 GB, free: 1.531 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/1.004, allocations: 140 kB / 1.173 GB, free: 1.391 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/1.005, allocations: 43.44 kB / 1.173 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/1.005, allocations: 45.69 kB / 1.173 GB, free: 1.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.005, allocations: 334.7 kB / 1.174 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/1.005, allocations: 71.94 kB / 1.174 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/1.006, allocations: 134.6 kB / 1.174 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/1.007, allocations: 206.2 kB / 1.174 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.007, allocations: 0 / 1.174 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002598/1.009, allocations: 374.7 kB / 1.175 GB, free: 136 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/1.009, allocations: 4 kB / 1.175 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.009, allocations: 4 kB / 1.175 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/1.011, allocations: 169.7 kB / 1.175 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/1.012, allocations: 35.97 kB / 1.175 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/1.019, allocations: 3.031 MB / 1.178 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/1.019, allocations: 39.81 kB / 1.178 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/1.019, allocations: 12 kB / 1.178 GB, free: 12.55 MB / 0.9356 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.0002619/1.02, allocations: 129.7 kB / 1.178 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/1.02, allocations: 23.73 kB / 1.178 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/1.022, allocations: 366.9 kB / 1.178 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.022, allocations: 4 kB / 1.178 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.022, allocations: 3.938 kB / 1.178 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.022, allocations: 4 kB / 1.178 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/1.023, allocations: 277.4 kB / 1.178 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.023, allocations: 0 / 1.178 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/1.023, allocations: 19.98 kB / 1.179 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/1.025, allocations: 165.5 kB / 1.179 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/1.025, allocations: 4 kB / 1.179 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006716/1.032, allocations: 3.08 MB / 1.182 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.032, allocations: 0 / 1.182 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/1.034, allocations: 428.7 kB / 1.182 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/1.034, allocations: 120.8 kB / 1.182 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/1.034, allocations: 0 / 1.182 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/1.035, allocations: 27.77 kB / 1.182 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.035, allocations: 19.97 kB / 1.182 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/1.035, allocations: 4 kB / 1.182 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003396/1.035, allocations: 159.2 kB / 1.182 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.21e-07/1.035, allocations: 4 kB / 1.182 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008638/1.036, allocations: 71.94 kB / 1.182 GB, free: 7.293 MB / 0.9356 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.0003987/1.037, allocations: 115.2 kB / 1.183 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001946/1.039, allocations: 443.7 kB / 1.183 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.039, allocations: 0 / 1.183 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/1.04, allocations: 353.2 kB / 1.183 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/1.041, allocations: 58.14 kB / 1.183 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/1.043, allocations: 496.5 kB / 1.184 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/1.043, allocations: 0.7284 MB / 1.185 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004288/1.044, allocations: 41.88 kB / 1.185 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/1.044, allocations: 23.42 kB / 1.185 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of SimCode: time 8.92e-07/1.044, allocations: 0 / 1.185 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of Templates: time 0.01814/1.062, allocations: 4.968 MB / 1.189 GB, free: 48 kB / 0.9356 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