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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_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.007694/0.007694, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001886/0.001886, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.184/2.184, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 71.88 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6699/0.671, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002623/0.6737, allocations: 1.919 MB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1509/0.8246, allocations: 155.4 MB / 1.241 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.8247, allocations: 1.375 kB / 1.241 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.8249, allocations: 33.03 kB / 1.241 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.8251, allocations: 73.17 kB / 1.241 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.8257, allocations: 266.2 kB / 1.241 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.8259, allocations: 272.8 kB / 1.242 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.8261, allocations: 62.3 kB / 1.242 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.8271, allocations: 241.8 kB / 1.242 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.8273, allocations: 94.08 kB / 1.242 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.8273, allocations: 15.34 kB / 1.242 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.8276, allocations: 182.8 kB / 1.242 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.8277, allocations: 44.73 kB / 1.242 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.44e-05/0.8277, allocations: 93.09 kB / 1.242 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.8281, allocations: 290.9 kB / 1.243 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8281, allocations: 4 kB / 1.243 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8281, allocations: 0 / 1.243 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.8281, allocations: 1.375 kB / 1.243 GB, free: 13.73 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.000808/0.8289, allocations: 0.5261 MB / 1.243 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.829, allocations: 9.625 kB / 1.243 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.829, allocations: 52.05 kB / 1.243 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00076/0.8298, allocations: 85.89 kB / 1.243 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.83, allocations: 234.1 kB / 1.244 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/0.8301, allocations: 36.41 kB / 1.244 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.8301, allocations: 14.72 kB / 1.244 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.8306, allocations: 264.3 kB / 1.244 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8306, allocations: 5.031 kB / 1.244 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.8307, allocations: 10.84 kB / 1.244 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.8307, allocations: 4.188 kB / 1.244 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.8311, allocations: 172.4 kB / 1.244 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.8326, allocations: 1.185 MB / 1.245 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.8333, allocations: 199.2 kB / 1.245 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.8335, allocations: 70.28 kB / 1.245 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.8335, allocations: 9.188 kB / 1.245 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.8335, allocations: 39.97 kB / 1.246 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.8335, allocations: 1.156 kB / 1.246 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002537/0.8361, allocations: 0.623 MB / 1.246 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.8361, allocations: 53.62 kB / 1.246 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.8363, allocations: 219.9 kB / 1.246 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.8364, allocations: 26.92 kB / 1.246 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.8365, allocations: 140.8 kB / 1.247 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.8365, allocations: 40.92 kB / 1.247 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.8366, allocations: 48.59 kB / 1.247 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.8367, allocations: 327.5 kB / 1.247 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.8369, allocations: 74.84 kB / 1.247 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.8371, allocations: 131.9 kB / 1.247 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.8375, allocations: 197.4 kB / 1.247 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8375, allocations: 4 kB / 1.247 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001356/0.8389, allocations: 370.9 kB / 1.248 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8389, allocations: 15.95 kB / 1.248 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8389, allocations: 0 / 1.248 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.8399, allocations: 161.5 kB / 1.248 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.8402, allocations: 43.95 kB / 1.248 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/0.8435, allocations: 3.246 MB / 1.251 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.8438, allocations: 35.83 kB / 1.251 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.8438, allocations: 11.98 kB / 1.251 GB, free: 5.539 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.0001028/0.844, allocations: 133.7 kB / 1.251 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.844, allocations: 19.72 kB / 1.251 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.8452, allocations: 374.1 kB / 1.252 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8453, allocations: 4 kB / 1.252 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.8453, allocations: 0 / 1.252 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.8453, allocations: 4 kB / 1.252 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.8455, allocations: 273.4 kB / 1.252 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8455, allocations: 0 / 1.252 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.8457, allocations: 23.92 kB / 1.252 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007773/0.8465, allocations: 145.5 kB / 1.252 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.8465, allocations: 0 / 1.252 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.8496, allocations: 3.301 MB / 1.255 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.8496, allocations: 0 / 1.255 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.8508, allocations: 443 kB / 1.256 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.8509, allocations: 116.8 kB / 1.256 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.8509, allocations: 3.938 kB / 1.256 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.8512, allocations: 15.98 kB / 1.256 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.8513, allocations: 19.97 kB / 1.256 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.8513, allocations: 4 kB / 1.256 GB, free: 296 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001522/0.8514, allocations: 163.2 kB / 1.256 GB, free: 132 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8514, allocations: 4 kB / 1.256 GB, free: 128 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003432/0.8518, allocations: 63.94 kB / 1.256 GB, free: 64 kB / 0.9825 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.001435/0.8532, allocations: 0.9835 MB / 1.257 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009164/0.8542, allocations: 441.5 kB / 1.257 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8542, allocations: 0 / 1.257 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.8548, allocations: 357.2 kB / 1.258 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.8552, allocations: 65.83 kB / 1.258 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.8596, allocations: 2.518 MB / 1.26 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.8598, allocations: 0.7401 MB / 1.261 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.86, allocations: 37.88 kB / 1.261 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.86, allocations: 55.41 kB / 1.261 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.8601, allocations: 0 / 1.261 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.94/3.8, allocations: 7.286 MB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.97/25.77, allocations: 2.188 kB / 1.268 GB, free: 3.559 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > 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