Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001735/0.001735, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002164/0.002164, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.064/3.064, allocations: 0.49 GB / 0.7923 GB, free: 1.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_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.00198/0.00198, allocations: 71.91 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 176.1 MB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002944/1.104, allocations: 1.933 MB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2081/1.312, allocations: 158.8 MB / 1.478 GB, free: 2.809 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/1.313, allocations: 2.156 kB / 1.478 GB, free: 2.809 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002054/1.313, allocations: 28.84 kB / 1.478 GB, free: 2.781 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000378/1.313, allocations: 68.69 kB / 1.479 GB, free: 2.727 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008712/1.314, allocations: 266.2 kB / 1.479 GB, free: 2.527 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004207/1.315, allocations: 275.8 kB / 1.479 GB, free: 2.363 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/1.315, allocations: 47.3 kB / 1.479 GB, free: 2.332 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/1.316, allocations: 248 kB / 1.479 GB, free: 2.219 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/1.316, allocations: 93.56 kB / 1.479 GB, free: 2.156 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/1.317, allocations: 15.09 kB / 1.479 GB, free: 2.156 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/1.317, allocations: 191.4 kB / 1.48 GB, free: 2.066 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/1.317, allocations: 47.98 kB / 1.48 GB, free: 2.027 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/1.317, allocations: 94.52 kB / 1.48 GB, free: 1.965 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004956/1.318, allocations: 301.5 kB / 1.48 GB, free: 1.773 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/1.318, allocations: 0 / 1.48 GB, free: 1.773 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.132e-06/1.318, allocations: 0 / 1.48 GB, free: 1.773 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.318, allocations: 0 / 1.48 GB, free: 1.773 MB / 1.154 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.001128/1.319, allocations: 0.5319 MB / 1.481 GB, free: 1.281 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.319, allocations: 13.86 kB / 1.481 GB, free: 1.277 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.08e-05/1.319, allocations: 4.047 kB / 1.481 GB, free: 1.277 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.6e-05/1.319, allocations: 52.73 kB / 1.481 GB, free: 1.223 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/1.32, allocations: 113.5 kB / 1.481 GB, free: 1.176 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/1.32, allocations: 231.7 kB / 1.481 GB, free: 0.9297 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-05/1.321, allocations: 45.31 kB / 1.481 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/1.321, allocations: 15.12 kB / 1.481 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/1.321, allocations: 263.8 kB / 1.481 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.321, allocations: 5.469 kB / 1.481 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/1.321, allocations: 5.25 kB / 1.481 GB, free: 0.668 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.321, allocations: 5.219 kB / 1.481 GB, free: 0.668 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/1.322, allocations: 168.6 kB / 1.481 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/1.324, allocations: 1.189 MB / 1.483 GB, free: 15.47 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007759/1.324, allocations: 202 kB / 1.483 GB, free: 15.37 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/1.325, allocations: 63.56 kB / 1.483 GB, free: 15.33 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/1.325, allocations: 5.406 kB / 1.483 GB, free: 15.33 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/1.325, allocations: 35.91 kB / 1.483 GB, free: 15.29 MB / 1.17 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/1.325, allocations: 4 kB / 1.483 GB, free: 15.28 MB / 1.17 GB Notification: Performance of matching and sorting (n=12): time 0.002882/1.327, allocations: 0.6243 MB / 1.483 GB, free: 14.84 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/1.328, allocations: 52.72 kB / 1.484 GB, free: 14.78 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/1.328, allocations: 209.6 kB / 1.484 GB, free: 14.62 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/1.328, allocations: 26.77 kB / 1.484 GB, free: 14.59 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/1.328, allocations: 144.2 kB / 1.484 GB, free: 14.46 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/1.328, allocations: 49.16 kB / 1.484 GB, free: 14.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/1.328, allocations: 53.86 kB / 1.484 GB, free: 14.37 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.328, allocations: 326 kB / 1.484 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/1.328, allocations: 67.31 kB / 1.484 GB, free: 14.02 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/1.329, allocations: 137.3 kB / 1.484 GB, free: 13.9 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/1.329, allocations: 193.8 kB / 1.485 GB, free: 13.76 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.329, allocations: 5.125 kB / 1.485 GB, free: 13.76 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001621/1.331, allocations: 376.1 kB / 1.485 GB, free: 13.54 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.331, allocations: 5.906 kB / 1.485 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.331, allocations: 6.312 kB / 1.485 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.332, allocations: 162.4 kB / 1.485 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/1.332, allocations: 42.22 kB / 1.485 GB, free: 13.44 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/1.337, allocations: 3.251 MB / 1.488 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/1.337, allocations: 34.23 kB / 1.488 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/1.337, allocations: 13.94 kB / 1.488 GB, free: 10.23 MB / 1.17 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.0001889/1.337, allocations: 137.9 kB / 1.489 GB, free: 10.1 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/1.338, allocations: 19.14 kB / 1.489 GB, free: 10.09 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/1.339, allocations: 367.1 kB / 1.489 GB, free: 9.848 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.339, allocations: 1.5 kB / 1.489 GB, free: 9.848 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.339, allocations: 1.5 kB / 1.489 GB, free: 9.848 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.339, allocations: 3.938 kB / 1.489 GB, free: 9.844 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/1.339, allocations: 277.5 kB / 1.489 GB, free: 9.566 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.339, allocations: 9.266 kB / 1.489 GB, free: 9.559 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/1.34, allocations: 20.36 kB / 1.489 GB, free: 9.555 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009292/1.341, allocations: 143.2 kB / 1.489 GB, free: 9.477 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/1.341, allocations: 1.375 kB / 1.489 GB, free: 9.477 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004565/1.345, allocations: 3.296 MB / 1.493 GB, free: 6.277 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.345, allocations: 1.188 kB / 1.493 GB, free: 6.277 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/1.347, allocations: 432.8 kB / 1.493 GB, free: 5.98 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/1.347, allocations: 122.9 kB / 1.493 GB, free: 5.852 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/1.347, allocations: 1.031 kB / 1.493 GB, free: 5.852 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/1.347, allocations: 24.28 kB / 1.493 GB, free: 5.836 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/1.347, allocations: 15.02 kB / 1.493 GB, free: 5.828 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/1.347, allocations: 4.406 kB / 1.493 GB, free: 5.828 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002303/1.347, allocations: 161.9 kB / 1.493 GB, free: 5.711 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/1.347, allocations: 0 / 1.493 GB, free: 5.711 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005481/1.348, allocations: 74.64 kB / 1.493 GB, free: 5.695 MB / 1.17 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.00192/1.35, allocations: 0.9823 MB / 1.494 GB, free: 4.852 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001331/1.351, allocations: 441.8 kB / 1.495 GB, free: 4.52 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.351, allocations: 4 kB / 1.495 GB, free: 4.516 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008089/1.352, allocations: 349.5 kB / 1.495 GB, free: 4.227 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/1.353, allocations: 59.53 kB / 1.495 GB, free: 4.191 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/1.359, allocations: 2.533 MB / 1.498 GB, free: 2.215 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/1.359, allocations: 0.7361 MB / 1.498 GB, free: 1.492 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000209/1.359, allocations: 42.12 kB / 1.498 GB, free: 1.469 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/1.359, allocations: 50.64 kB / 1.498 GB, free: 1.43 MB / 1.17 GB Notification: Performance of SimCode: time 9.42e-07/1.359, allocations: 0 / 1.498 GB, free: 1.43 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2184/1.578, allocations: 7.376 MB / 1.506 GB, free: 11.66 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/14.41, allocations: 4 kB / 1.506 GB, free: 11.65 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.30012422899017]