Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001841/0.001841, allocations: 79.05 kB / 19.18 MB, free: 2.516 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.002161/0.002161, allocations: 162 kB / 22.46 MB, free: 5.375 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.542/1.542, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.702/2.702, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.701e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002808/0.002835, allocations: 1.508 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003561/0.003191, allocations: 127.5 kB / 0.9525 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.003242, allocations: 0 / 0.9525 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.003273, allocations: 3.938 kB / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.003328, allocations: 11.86 kB / 0.9526 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.00364, allocations: 70.78 kB / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.003765, allocations: 63.83 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.003872, allocations: 15.98 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.776e-05/0.00396, allocations: 31.91 kB / 0.9527 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.004015, allocations: 19.97 kB / 0.9528 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.004045, allocations: 4 kB / 0.9528 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.00406, allocations: 4 kB / 0.9528 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.004085, allocations: 15.92 kB / 0.9528 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.004123, allocations: 19.98 kB / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.004255, allocations: 71.7 kB / 0.9529 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004257, allocations: 3.938 kB / 0.9529 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004257, allocations: 4 kB / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.004266, allocations: 0 / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000535/0.004801, allocations: 298.1 kB / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.004836, allocations: 8.031 kB / 0.9532 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.004876, allocations: 8.891 kB / 0.9532 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.004996, allocations: 105.8 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.688e-05/0.005083, allocations: 55.97 kB / 0.9533 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.005099, allocations: 8.375 kB / 0.9533 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.005344, allocations: 95.92 kB / 0.9534 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.005355, allocations: 4.125 kB / 0.9534 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.005368, allocations: 384 / 0.9534 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.005377, allocations: 8.125 kB / 0.9534 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.005566, allocations: 43.95 kB / 0.9535 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.006154, allocations: 256.4 kB / 0.9537 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.006315, allocations: 50.48 kB / 0.9538 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.006419, allocations: 32.92 kB / 0.9538 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.006435, allocations: 3.938 kB / 0.9538 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.006485, allocations: 30.56 kB / 0.9538 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.006486, allocations: 0 / 0.9538 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003878/0.006874, allocations: 105.6 kB / 0.9539 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.006917, allocations: 55.41 kB / 0.954 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.007012, allocations: 113.9 kB / 0.9541 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.007033, allocations: 25.7 kB / 0.9541 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.007096, allocations: 96.02 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.007112, allocations: 7.906 kB / 0.9542 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.007153, allocations: 21.7 kB / 0.9542 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.007297, allocations: 318.8 kB / 0.9545 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.756e-05/0.007394, allocations: 19.98 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.007498, allocations: 38.33 kB / 0.9546 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.007691, allocations: 53.67 kB / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007693, allocations: 128 / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002447/0.007938, allocations: 101.5 kB / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.007953, allocations: 4 kB / 0.9548 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007957, allocations: 4.031 kB / 0.9548 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.00797, allocations: 0 / 0.9548 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.008074, allocations: 15.98 kB / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.008078, allocations: 320 / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.008137, allocations: 7.938 kB / 0.9548 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.008146, allocations: 4 kB / 0.9548 GB, free: 7.453 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.008248, allocations: 117.8 kB / 0.9549 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.008282, allocations: 7.938 kB / 0.9549 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.008308, allocations: 11.94 kB / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008309, allocations: 4 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008313, allocations: 0 / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.008315, allocations: 4 kB / 0.9549 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.008469, allocations: 113.3 kB / 0.955 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.00847, allocations: 0 / 0.955 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.008543, allocations: 11.98 kB / 0.955 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.008547, allocations: 3.938 kB / 0.955 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.008555, allocations: 4 kB / 0.955 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.008557, allocations: 0 / 0.955 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.008561, allocations: 7.984 kB / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.008837, allocations: 171.5 kB / 0.9552 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.008855, allocations: 7.953 kB / 0.9552 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.00887, allocations: 3.938 kB / 0.9552 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.009007, allocations: 11.98 kB / 0.9552 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.009044, allocations: 7.938 kB / 0.9552 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.009056, allocations: 7.984 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.009108, allocations: 83.28 kB / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.009108, allocations: 3.938 kB / 0.9553 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002266/0.009334, allocations: 8 kB / 0.9553 GB, free: 6.812 MB / 0.8575 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.009448, allocations: 99.53 kB / 0.9554 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.00969, allocations: 51.94 kB / 0.9555 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009692, allocations: 0 / 0.9555 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.009792, allocations: 31.91 kB / 0.9555 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.01007, allocations: 4 kB / 0.9555 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.01042, allocations: 140.9 kB / 0.9557 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.883e-05/0.01049, allocations: 71.34 kB / 0.9557 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.01052, allocations: 4 kB / 0.9557 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.01055, allocations: 8.5 kB / 0.9557 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.01055, allocations: 0 / 0.9557 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of Templates: time 0.003413/0.01397, allocations: 0.849 MB / 0.9566 GB, free: 5.523 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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: 7.862470965832472]