Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.0008118/0.0008118, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008332/0.0008332, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9012/0.9012, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.848/1.848, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.688e-05, allocations: 9.094 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002095/0.002112, allocations: 1.646 MB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.613/0.6151, allocations: 131.5 MB / 1.13 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.6153, allocations: 6.031 kB / 1.13 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.6155, allocations: 23.06 kB / 1.13 GB, free: 1.465 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.6158, allocations: 59.02 kB / 1.13 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.6162, allocations: 195.1 kB / 1.13 GB, free: 1.328 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.6164, allocations: 166.4 kB / 1.13 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.6165, allocations: 20.55 kB / 1.13 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008442/0.6173, allocations: 225.9 kB / 1.13 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.6174, allocations: 51.3 kB / 1.13 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.6175, allocations: 9.031 kB / 1.13 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.6177, allocations: 164.5 kB / 1.131 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.6178, allocations: 29.58 kB / 1.131 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.6178, allocations: 38.16 kB / 1.131 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.6182, allocations: 231.8 kB / 1.131 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6182, allocations: 1 kB / 1.131 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6182, allocations: 3.938 kB / 1.131 GB, free: 1 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.6182, allocations: 0 / 1.131 GB, free: 1 MB / 0.9948 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.0006215/0.6188, allocations: 400 kB / 1.131 GB, free: 0.6758 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6188, allocations: 11.03 kB / 1.131 GB, free: 0.6758 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.6189, allocations: 46.38 kB / 1.131 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.6194, allocations: 73.94 kB / 1.131 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.6196, allocations: 146.9 kB / 1.132 GB, free: 488 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.6196, allocations: 8.203 kB / 1.132 GB, free: 484 kB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.6197, allocations: 8.406 kB / 1.132 GB, free: 480 kB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.62, allocations: 180.3 kB / 1.132 GB, free: 376 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.62, allocations: 5.094 kB / 1.132 GB, free: 372 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.62, allocations: 5.156 kB / 1.132 GB, free: 368 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.62, allocations: 2.344 kB / 1.132 GB, free: 368 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.6203, allocations: 144 kB / 1.132 GB, free: 332 kB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007837/0.6211, allocations: 0.7206 MB / 1.133 GB, free: 15.69 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.6214, allocations: 135.5 kB / 1.133 GB, free: 15.62 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.6215, allocations: 74.97 kB / 1.133 GB, free: 15.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.6216, allocations: 5.406 kB / 1.133 GB, free: 15.6 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.6216, allocations: 31.81 kB / 1.133 GB, free: 15.56 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.6216, allocations: 0 / 1.133 GB, free: 15.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.001147/0.6227, allocations: 382 kB / 1.133 GB, free: 15.45 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.6228, allocations: 56.56 kB / 1.133 GB, free: 15.38 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.6229, allocations: 150.2 kB / 1.133 GB, free: 15.27 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.6229, allocations: 30.83 kB / 1.133 GB, free: 15.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.623, allocations: 111.6 kB / 1.134 GB, free: 15.13 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.623, allocations: 30.11 kB / 1.134 GB, free: 15.11 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.623, allocations: 29.44 kB / 1.134 GB, free: 15.09 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.6231, allocations: 323.1 kB / 1.134 GB, free: 14.77 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.6233, allocations: 69.06 kB / 1.134 GB, free: 14.75 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.6234, allocations: 108.7 kB / 1.134 GB, free: 14.69 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.6237, allocations: 174.5 kB / 1.134 GB, free: 14.61 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6237, allocations: 0 / 1.134 GB, free: 14.61 MB / 1.01 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006647/0.6244, allocations: 277.9 kB / 1.134 GB, free: 14.51 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6244, allocations: 7.672 kB / 1.134 GB, free: 14.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6244, allocations: 1.438 kB / 1.134 GB, free: 14.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.6248, allocations: 90.84 kB / 1.135 GB, free: 14.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.6249, allocations: 47.72 kB / 1.135 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.6265, allocations: 1.543 MB / 1.136 GB, free: 13.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.6267, allocations: 29.41 kB / 1.136 GB, free: 13.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.6267, allocations: 6.297 kB / 1.136 GB, free: 13.08 MB / 1.01 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.0001176/0.6268, allocations: 128.3 kB / 1.136 GB, free: 12.95 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.6269, allocations: 9.453 kB / 1.136 GB, free: 12.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.6275, allocations: 314 kB / 1.137 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6275, allocations: 2.344 kB / 1.137 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.6276, allocations: 3.188 kB / 1.137 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.6276, allocations: 5.25 kB / 1.137 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.6278, allocations: 194.8 kB / 1.137 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6278, allocations: 0.5625 kB / 1.137 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.6279, allocations: 31.06 kB / 1.137 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.6281, allocations: 75.67 kB / 1.137 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.6281, allocations: 2.922 kB / 1.137 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.6294, allocations: 1.58 MB / 1.138 GB, free: 11.22 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6294, allocations: 0 / 1.138 GB, free: 11.22 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.6301, allocations: 375.9 kB / 1.139 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.6302, allocations: 34.16 kB / 1.139 GB, free: 11 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.6302, allocations: 2.922 kB / 1.139 GB, free: 11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.6303, allocations: 18.05 kB / 1.139 GB, free: 10.99 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.6304, allocations: 13.44 kB / 1.139 GB, free: 10.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.6304, allocations: 12.12 kB / 1.139 GB, free: 10.98 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.047e-05/0.6305, allocations: 119.2 kB / 1.139 GB, free: 10.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6305, allocations: 0 / 1.139 GB, free: 10.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003108/0.6308, allocations: 45.66 kB / 1.139 GB, free: 10.89 MB / 1.01 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.0009039/0.6317, allocations: 0.9201 MB / 1.14 GB, free: 10.15 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005664/0.6323, allocations: 305.2 kB / 1.14 GB, free: 9.988 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6323, allocations: 0 / 1.14 GB, free: 9.988 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.6325, allocations: 227.1 kB / 1.14 GB, free: 9.844 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.6328, allocations: 27.14 kB / 1.14 GB, free: 9.836 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.6353, allocations: 2.068 MB / 1.142 GB, free: 8.34 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.653e-05/0.6354, allocations: 93.91 kB / 1.143 GB, free: 8.27 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.6355, allocations: 29.62 kB / 1.143 GB, free: 8.254 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.6356, allocations: 37.84 kB / 1.143 GB, free: 8.23 MB / 1.01 GB Notification: Performance of SimCode: time 1.002e-06/0.6356, allocations: 0 / 1.143 GB, free: 8.23 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.6574, allocations: 5.48 MB / 1.148 GB, free: 7.055 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.386, allocations: 4.453 kB / 1.148 GB, free: 7.055 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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: 12.60800385195762]