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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 443.5 MB / 0.7293 GB, free: 14.44 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 1.057 GB, free: 1.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3358, allocations: 160.7 MB / 1.214 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003299/0.3391, allocations: 1.924 MB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8738/1.213, allocations: 155.9 MB / 1.368 GB, free: 2.234 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/1.213, allocations: 1.156 kB / 1.368 GB, free: 2.234 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/1.213, allocations: 32.08 kB / 1.368 GB, free: 2.211 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003893/1.214, allocations: 69.84 kB / 1.368 GB, free: 2.164 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/1.215, allocations: 260.3 kB / 1.369 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004022/1.215, allocations: 271.7 kB / 1.369 GB, free: 1.906 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/1.215, allocations: 51.94 kB / 1.369 GB, free: 1.879 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/1.217, allocations: 256.8 kB / 1.369 GB, free: 1.793 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/1.217, allocations: 94.11 kB / 1.369 GB, free: 1.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/1.217, allocations: 15.19 kB / 1.369 GB, free: 1.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/1.218, allocations: 178.9 kB / 1.369 GB, free: 1.707 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/1.218, allocations: 47 kB / 1.369 GB, free: 1.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/1.218, allocations: 90.22 kB / 1.369 GB, free: 1.629 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005338/1.218, allocations: 287.9 kB / 1.37 GB, free: 1.523 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.218, allocations: 1.406 kB / 1.37 GB, free: 1.523 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.422e-06/1.218, allocations: 0 / 1.37 GB, free: 1.523 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.218, allocations: 7.938 kB / 1.37 GB, free: 1.516 MB / 1.045 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.001081/1.219, allocations: 0.5238 MB / 1.37 GB, free: 1.062 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.219, allocations: 14.97 kB / 1.37 GB, free: 1.059 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000868/1.22, allocations: 82.95 kB / 1.37 GB, free: 1.047 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/1.221, allocations: 225.5 kB / 1.371 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/1.221, allocations: 45.91 kB / 1.371 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/1.221, allocations: 18.44 kB / 1.371 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/1.221, allocations: 263.4 kB / 1.371 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.221, allocations: 1.125 kB / 1.371 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/1.221, allocations: 6.344 kB / 1.371 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/1.221, allocations: 4.812 kB / 1.371 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/1.222, allocations: 171.7 kB / 1.371 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/1.224, allocations: 1.186 MB / 1.372 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000796/1.224, allocations: 203.9 kB / 1.372 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/1.225, allocations: 61.44 kB / 1.372 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/1.225, allocations: 1.5 kB / 1.372 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/1.225, allocations: 37.98 kB / 1.373 GB, free: 15.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/1.225, allocations: 4 kB / 1.373 GB, free: 15.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.002799/1.227, allocations: 0.6241 MB / 1.373 GB, free: 15.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.228, allocations: 55.41 kB / 1.373 GB, free: 15.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/1.228, allocations: 222.5 kB / 1.373 GB, free: 14.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/1.228, allocations: 27.11 kB / 1.373 GB, free: 14.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/1.228, allocations: 143 kB / 1.374 GB, free: 14.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/1.228, allocations: 44.38 kB / 1.374 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/1.228, allocations: 46.38 kB / 1.374 GB, free: 14.65 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.228, allocations: 326.7 kB / 1.374 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/1.228, allocations: 71.75 kB / 1.374 GB, free: 14.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/1.229, allocations: 137.1 kB / 1.374 GB, free: 14.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/1.229, allocations: 196.5 kB / 1.374 GB, free: 14.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.229, allocations: 9.125 kB / 1.374 GB, free: 14.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001498/1.231, allocations: 376.5 kB / 1.375 GB, free: 13.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.231, allocations: 6.062 kB / 1.375 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.231, allocations: 2.344 kB / 1.375 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.232, allocations: 161 kB / 1.375 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/1.232, allocations: 43.62 kB / 1.375 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/1.237, allocations: 3.246 MB / 1.378 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/1.237, allocations: 33.52 kB / 1.378 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/1.237, allocations: 13.53 kB / 1.378 GB, free: 10.86 MB / 1.061 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.000176/1.237, allocations: 136.5 kB / 1.378 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/1.237, allocations: 16.81 kB / 1.378 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.239, allocations: 368.1 kB / 1.379 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.239, allocations: 6.422 kB / 1.379 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.239, allocations: 0.9375 kB / 1.379 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.239, allocations: 3.875 kB / 1.379 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/1.239, allocations: 279.3 kB / 1.379 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.239, allocations: 1.156 kB / 1.379 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/1.239, allocations: 28.3 kB / 1.379 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008402/1.24, allocations: 141.1 kB / 1.379 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/1.24, allocations: 4.875 kB / 1.379 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003969/1.244, allocations: 3.3 MB / 1.382 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.244, allocations: 6.016 kB / 1.382 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/1.245, allocations: 428.7 kB / 1.383 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.245, allocations: 113 kB / 1.383 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/1.245, allocations: 9.062 kB / 1.383 GB, free: 6.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/1.246, allocations: 24.62 kB / 1.383 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/1.246, allocations: 14.62 kB / 1.383 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/1.246, allocations: 8.875 kB / 1.383 GB, free: 6.852 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002124/1.246, allocations: 162.7 kB / 1.383 GB, free: 6.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.246, allocations: 0 / 1.383 GB, free: 6.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004814/1.246, allocations: 70.5 kB / 1.383 GB, free: 6.738 MB / 1.061 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.0002269/1.247, allocations: 127.5 kB / 1.383 GB, free: 6.629 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.248, allocations: 435.8 kB / 1.384 GB, free: 6.348 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.248, allocations: 1.094 kB / 1.384 GB, free: 6.348 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/1.249, allocations: 353.1 kB / 1.384 GB, free: 6.082 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/1.249, allocations: 58.83 kB / 1.384 GB, free: 6.062 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/1.25, allocations: 461.2 kB / 1.384 GB, free: 5.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/1.251, allocations: 0.736 MB / 1.385 GB, free: 5.082 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/1.251, allocations: 21.42 kB / 1.385 GB, free: 5.074 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/1.251, allocations: 0 / 1.385 GB, free: 5.074 MB / 1.061 GB Notification: Performance of Templates: time 0.007643/1.258, allocations: 4.435 MB / 1.39 GB, free: 2.922 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.242538043064997]