Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.88/2.88, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003893/1.035, allocations: 1.93 MB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2255/1.26, allocations: 158.8 MB / 1.436 GB, free: 11.27 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/1.261, allocations: 7.938 kB / 1.436 GB, free: 11.27 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002818/1.261, allocations: 23.73 kB / 1.436 GB, free: 11.24 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0004862/1.261, allocations: 75.41 kB / 1.436 GB, free: 11.17 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009918/1.262, allocations: 263.1 kB / 1.436 GB, free: 10.91 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/1.263, allocations: 263.2 kB / 1.436 GB, free: 10.65 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/1.263, allocations: 46.42 kB / 1.437 GB, free: 10.61 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/1.265, allocations: 267.3 kB / 1.437 GB, free: 10.37 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/1.265, allocations: 87.61 kB / 1.437 GB, free: 10.28 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/1.265, allocations: 19.94 kB / 1.437 GB, free: 10.26 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/1.266, allocations: 195.7 kB / 1.437 GB, free: 10.07 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/1.266, allocations: 47.83 kB / 1.437 GB, free: 10.02 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/1.266, allocations: 91.53 kB / 1.437 GB, free: 9.934 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005882/1.266, allocations: 294.8 kB / 1.437 GB, free: 9.645 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.266, allocations: 4 kB / 1.437 GB, free: 9.641 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.263e-06/1.266, allocations: 0 / 1.437 GB, free: 9.641 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.266, allocations: 0 / 1.437 GB, free: 9.641 MB / 1.123 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.00112/1.268, allocations: 0.5335 MB / 1.438 GB, free: 9.059 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.268, allocations: 12.03 kB / 1.438 GB, free: 9.047 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.457e-05/1.268, allocations: 8.328 kB / 1.438 GB, free: 9.039 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.863e-05/1.268, allocations: 50.55 kB / 1.438 GB, free: 8.98 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/1.269, allocations: 111.8 kB / 1.438 GB, free: 8.871 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/1.269, allocations: 240 kB / 1.438 GB, free: 8.598 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-05/1.269, allocations: 38.03 kB / 1.438 GB, free: 8.555 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/1.269, allocations: 12 kB / 1.438 GB, free: 8.543 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/1.27, allocations: 266.5 kB / 1.439 GB, free: 8.254 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.27, allocations: 0 / 1.439 GB, free: 8.254 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/1.27, allocations: 8 kB / 1.439 GB, free: 8.246 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/1.27, allocations: 8 kB / 1.439 GB, free: 8.238 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/1.271, allocations: 167.8 kB / 1.439 GB, free: 8.074 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/1.273, allocations: 1.185 MB / 1.44 GB, free: 6.812 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/1.273, allocations: 194.7 kB / 1.44 GB, free: 6.613 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.274, allocations: 72.75 kB / 1.44 GB, free: 6.539 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/1.274, allocations: 4 kB / 1.44 GB, free: 6.535 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.274, allocations: 38.44 kB / 1.44 GB, free: 6.488 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/1.274, allocations: 0 / 1.44 GB, free: 6.488 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.00291/1.276, allocations: 0.6259 MB / 1.441 GB, free: 5.812 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.277, allocations: 55.41 kB / 1.441 GB, free: 5.746 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/1.277, allocations: 211 kB / 1.441 GB, free: 5.531 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/1.277, allocations: 29.7 kB / 1.441 GB, free: 5.496 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/1.277, allocations: 140.2 kB / 1.441 GB, free: 5.355 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/1.277, allocations: 39.64 kB / 1.441 GB, free: 5.316 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.277, allocations: 53.58 kB / 1.441 GB, free: 5.258 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.277, allocations: 330.8 kB / 1.442 GB, free: 4.926 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/1.278, allocations: 75.94 kB / 1.442 GB, free: 4.852 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/1.278, allocations: 125.2 kB / 1.442 GB, free: 4.703 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/1.278, allocations: 205.1 kB / 1.442 GB, free: 4.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.278, allocations: 4 kB / 1.442 GB, free: 4.477 MB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001568/1.28, allocations: 378.7 kB / 1.443 GB, free: 4.094 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.28, allocations: 4 kB / 1.443 GB, free: 4.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.28, allocations: 4 kB / 1.443 GB, free: 4.086 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/1.281, allocations: 161.8 kB / 1.443 GB, free: 3.922 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/1.281, allocations: 35.97 kB / 1.443 GB, free: 3.887 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004608/1.286, allocations: 3.252 MB / 1.446 GB, free: 356 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/1.286, allocations: 31.86 kB / 1.446 GB, free: 324 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/1.286, allocations: 19.92 kB / 1.446 GB, free: 304 kB / 1.123 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.0001707/1.286, allocations: 126.3 kB / 1.446 GB, free: 168 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/1.287, allocations: 15.91 kB / 1.446 GB, free: 152 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/1.288, allocations: 374.2 kB / 1.446 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.288, allocations: 8 kB / 1.446 GB, free: 15.76 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/1.288, allocations: 0 / 1.446 GB, free: 15.76 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.288, allocations: 192 / 1.446 GB, free: 15.76 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/1.288, allocations: 273.4 kB / 1.447 GB, free: 15.44 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.288, allocations: 7.984 kB / 1.447 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/1.289, allocations: 27.92 kB / 1.447 GB, free: 15.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008794/1.289, allocations: 133.6 kB / 1.447 GB, free: 15.27 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/1.289, allocations: 7.984 kB / 1.447 GB, free: 15.26 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004164/1.294, allocations: 3.293 MB / 1.45 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.294, allocations: 3.938 kB / 1.45 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/1.295, allocations: 436.8 kB / 1.451 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/1.295, allocations: 120.8 kB / 1.451 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/1.295, allocations: 7.953 kB / 1.451 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/1.295, allocations: 15.98 kB / 1.451 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/1.296, allocations: 23.91 kB / 1.451 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/1.296, allocations: 4 kB / 1.451 GB, free: 11.04 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002317/1.296, allocations: 163.2 kB / 1.451 GB, free: 10.88 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.296, allocations: 0 / 1.451 GB, free: 10.88 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004767/1.296, allocations: 71.94 kB / 1.451 GB, free: 10.81 MB / 1.139 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.00186/1.298, allocations: 0.9808 MB / 1.452 GB, free: 9.793 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001206/1.299, allocations: 445.6 kB / 1.452 GB, free: 9.332 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.299, allocations: 4 kB / 1.452 GB, free: 9.328 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007373/1.3, allocations: 349.2 kB / 1.453 GB, free: 8.961 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/1.301, allocations: 66.72 kB / 1.453 GB, free: 8.898 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/1.306, allocations: 2.524 MB / 1.455 GB, free: 6.242 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/1.307, allocations: 0.7439 MB / 1.456 GB, free: 5.473 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001874/1.307, allocations: 33.94 kB / 1.456 GB, free: 5.441 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/1.307, allocations: 59.41 kB / 1.456 GB, free: 5.383 MB / 1.139 GB Notification: Performance of SimCode: time 4.61e-07/1.307, allocations: 0 / 1.456 GB, free: 5.383 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/1.343, allocations: 7.377 MB / 1.463 GB, free: 14.24 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/14.02, allocations: 9.406 kB / 1.463 GB, free: 14.23 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.507495360972825]