Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.494/2.494, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6914, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00303/0.6945, allocations: 1.676 MB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1532/0.8477, allocations: 149.7 MB / 1.165 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.8479, allocations: 4 kB / 1.165 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.8481, allocations: 31.72 kB / 1.165 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.8484, allocations: 51.64 kB / 1.165 GB, free: 10.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.8489, allocations: 187.3 kB / 1.165 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.8491, allocations: 163.4 kB / 1.166 GB, free: 10.13 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.8492, allocations: 31.36 kB / 1.166 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.8504, allocations: 189.2 kB / 1.166 GB, free: 9.941 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.8505, allocations: 63.75 kB / 1.166 GB, free: 9.879 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.8505, allocations: 8 kB / 1.166 GB, free: 9.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.8508, allocations: 163.8 kB / 1.166 GB, free: 9.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.8509, allocations: 27.84 kB / 1.166 GB, free: 9.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.184e-05/0.851, allocations: 59.66 kB / 1.166 GB, free: 9.625 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.8513, allocations: 203.4 kB / 1.166 GB, free: 9.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8513, allocations: 0 / 1.166 GB, free: 9.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8513, allocations: 0 / 1.166 GB, free: 9.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.8514, allocations: 0 / 1.166 GB, free: 9.426 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008667/0.8522, allocations: 471 kB / 1.167 GB, free: 8.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.8523, allocations: 8.031 kB / 1.167 GB, free: 8.91 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.8523, allocations: 38.75 kB / 1.167 GB, free: 8.863 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/0.853, allocations: 56.53 kB / 1.167 GB, free: 8.809 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.8532, allocations: 206.7 kB / 1.167 GB, free: 8.566 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.8532, allocations: 12 kB / 1.167 GB, free: 8.555 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.8532, allocations: 4 kB / 1.167 GB, free: 8.551 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.8537, allocations: 179.7 kB / 1.167 GB, free: 8.355 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8537, allocations: 3.984 kB / 1.167 GB, free: 8.352 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.8537, allocations: 7.938 kB / 1.167 GB, free: 8.344 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.8537, allocations: 4 kB / 1.167 GB, free: 8.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.8542, allocations: 151.7 kB / 1.167 GB, free: 8.191 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.8553, allocations: 0.8282 MB / 1.168 GB, free: 7.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.8558, allocations: 126.5 kB / 1.168 GB, free: 7.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.856, allocations: 80.8 kB / 1.168 GB, free: 7.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.8561, allocations: 8.141 kB / 1.168 GB, free: 7.062 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.8561, allocations: 34.55 kB / 1.168 GB, free: 7.02 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.8561, allocations: 0 / 1.168 GB, free: 7.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001942/0.858, allocations: 459.1 kB / 1.169 GB, free: 6.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.8581, allocations: 59.34 kB / 1.169 GB, free: 6.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.8582, allocations: 152.5 kB / 1.169 GB, free: 6.312 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.8583, allocations: 25.7 kB / 1.169 GB, free: 6.281 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.8583, allocations: 108.2 kB / 1.169 GB, free: 6.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.8584, allocations: 27.64 kB / 1.169 GB, free: 6.145 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.8584, allocations: 33.61 kB / 1.169 GB, free: 6.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8585, allocations: 322.8 kB / 1.17 GB, free: 5.781 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.8588, allocations: 75.88 kB / 1.17 GB, free: 5.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.8591, allocations: 104.2 kB / 1.17 GB, free: 5.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.8596, allocations: 184.1 kB / 1.17 GB, free: 5.395 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.8596, allocations: 4 kB / 1.17 GB, free: 5.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00106/0.8607, allocations: 274.1 kB / 1.17 GB, free: 5.113 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8607, allocations: 7.938 kB / 1.17 GB, free: 5.105 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8607, allocations: 4 kB / 1.17 GB, free: 5.102 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/0.8613, allocations: 84.88 kB / 1.17 GB, free: 5.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.8615, allocations: 31.97 kB / 1.17 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.8637, allocations: 1.669 MB / 1.172 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.8639, allocations: 19.83 kB / 1.172 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.8639, allocations: 7.938 kB / 1.172 GB, free: 3.145 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.8641, allocations: 125.8 kB / 1.172 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.8641, allocations: 7.906 kB / 1.172 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.8652, allocations: 311.9 kB / 1.172 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.8652, allocations: 4 kB / 1.172 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.8653, allocations: 0 / 1.172 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8653, allocations: 3.984 kB / 1.172 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.8655, allocations: 249.3 kB / 1.173 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8656, allocations: 4 kB / 1.173 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.8658, allocations: 27.97 kB / 1.173 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.8662, allocations: 80.77 kB / 1.173 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.8663, allocations: 11.88 kB / 1.173 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.8681, allocations: 1.67 MB / 1.174 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8681, allocations: 0 / 1.174 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.8692, allocations: 376.6 kB / 1.175 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.8694, allocations: 108.8 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.8694, allocations: 11.94 kB / 1.175 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.8697, allocations: 19.92 kB / 1.175 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.8697, allocations: 15.97 kB / 1.175 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.8698, allocations: 4 kB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.297e-05/0.8698, allocations: 112.9 kB / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8699, allocations: 0 / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003447/0.8702, allocations: 44 kB / 1.175 GB, free: 15.73 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/0.8716, allocations: 0.9263 MB / 1.176 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009033/0.8725, allocations: 306.5 kB / 1.176 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8726, allocations: 3.938 kB / 1.176 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.8731, allocations: 238.8 kB / 1.177 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.8734, allocations: 32.58 kB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.8774, allocations: 2.058 MB / 1.179 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.8777, allocations: 0.7124 MB / 1.179 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.8779, allocations: 28.81 kB / 1.179 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.878, allocations: 31.42 kB / 1.179 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.878, allocations: 3.938 kB / 1.179 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.901, allocations: 4.662 MB / 1.184 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.68, allocations: 20.62 kB / 1.184 GB, free: 6.695 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches