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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001314/0.001313, allocations: 108 kB / 15.6 MB, free: 132 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.001383/0.001383, allocations: 192 kB / 16.53 MB, free: 6.391 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.33/2.33, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.5293, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003308/0.5327, allocations: 1.913 MB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1744/0.7071, allocations: 155.4 MB / 1.171 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.7074, allocations: 3.938 kB / 1.171 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.7077, allocations: 23.73 kB / 1.171 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.7082, allocations: 71.42 kB / 1.171 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.7089, allocations: 271.1 kB / 1.171 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.7093, allocations: 259 kB / 1.172 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.7095, allocations: 80.62 kB / 1.172 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.7108, allocations: 247.8 kB / 1.172 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.711, allocations: 95.59 kB / 1.172 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.7111, allocations: 16 kB / 1.172 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.7115, allocations: 179.7 kB / 1.172 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.7116, allocations: 51.81 kB / 1.172 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.7118, allocations: 87.53 kB / 1.172 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.7125, allocations: 283.2 kB / 1.173 GB, free: 2.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7125, allocations: 0 / 1.173 GB, free: 2.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7125, allocations: 0 / 1.173 GB, free: 2.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.7125, allocations: 0 / 1.173 GB, free: 2.898 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.001346/0.7139, allocations: 0.5222 MB / 1.173 GB, free: 2.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.7139, allocations: 8.031 kB / 1.173 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.348e-05/0.714, allocations: 58.48 kB / 1.173 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.7153, allocations: 83.72 kB / 1.173 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.7157, allocations: 234.5 kB / 1.174 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/0.7158, allocations: 42.03 kB / 1.174 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.7158, allocations: 12 kB / 1.174 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.7165, allocations: 262.6 kB / 1.174 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.7166, allocations: 0 / 1.174 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.7166, allocations: 8 kB / 1.174 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.7166, allocations: 4 kB / 1.174 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.7173, allocations: 171.8 kB / 1.174 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.7195, allocations: 1.176 MB / 1.175 GB, free: 128 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009509/0.7205, allocations: 202.7 kB / 1.175 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.7207, allocations: 72.81 kB / 1.175 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.7207, allocations: 3.984 kB / 1.175 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.7208, allocations: 38.5 kB / 1.175 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.7208, allocations: 0 / 1.175 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.003423/0.7242, allocations: 0.6258 MB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.7243, allocations: 59.34 kB / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.7246, allocations: 218.8 kB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.7247, allocations: 25.7 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.7248, allocations: 136 kB / 1.176 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.7248, allocations: 47.36 kB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.725, allocations: 45.69 kB / 1.177 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7251, allocations: 330.8 kB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.7254, allocations: 71.94 kB / 1.177 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.7258, allocations: 134.9 kB / 1.177 GB, free: 14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.7264, allocations: 199.6 kB / 1.177 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7264, allocations: 0 / 1.177 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002035/0.7285, allocations: 377.3 kB / 1.178 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7285, allocations: 9.875 kB / 1.178 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7285, allocations: 0 / 1.178 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.7299, allocations: 165.7 kB / 1.178 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.7302, allocations: 39.97 kB / 1.178 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005502/0.7357, allocations: 3.254 MB / 1.181 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.7362, allocations: 39.73 kB / 1.181 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.7363, allocations: 11.98 kB / 1.181 GB, free: 9.586 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.0001909/0.7365, allocations: 129.7 kB / 1.181 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.7365, allocations: 15.81 kB / 1.181 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.7379, allocations: 368.3 kB / 1.182 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.738, allocations: 4 kB / 1.182 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.738, allocations: 7.984 kB / 1.182 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.738, allocations: 0 / 1.182 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.7383, allocations: 281.2 kB / 1.182 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7383, allocations: 0 / 1.182 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.7384, allocations: 23.97 kB / 1.182 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008284/0.7393, allocations: 145.5 kB / 1.182 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.7393, allocations: 4 kB / 1.182 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.7429, allocations: 3.296 MB / 1.185 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7429, allocations: 0 / 1.185 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.7441, allocations: 426.4 kB / 1.186 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.7443, allocations: 124.7 kB / 1.186 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.7443, allocations: 4 kB / 1.186 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.7446, allocations: 16.11 kB / 1.186 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.7447, allocations: 19.97 kB / 1.186 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.7447, allocations: 11.94 kB / 1.186 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001882/0.7449, allocations: 159.2 kB / 1.186 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7449, allocations: 4 kB / 1.186 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003929/0.7453, allocations: 67.94 kB / 1.186 GB, free: 4.113 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.001605/0.7469, allocations: 0.9759 MB / 1.187 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.748, allocations: 455.3 kB / 1.187 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.748, allocations: 0 / 1.187 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.7487, allocations: 365.2 kB / 1.188 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.7491, allocations: 59.95 kB / 1.188 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004966/0.7541, allocations: 2.516 MB / 1.19 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.7545, allocations: 0.7401 MB / 1.191 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000225/0.7547, allocations: 29.95 kB / 1.191 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.7548, allocations: 55.41 kB / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of SimCode: time 1.122e-06/0.7548, allocations: 0 / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.784, allocations: 7.196 MB / 1.198 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.09, allocations: 6.188 kB / 1.198 GB, free: 7.688 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > 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