Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001429/0.001429, allocations: 117.8 kB / 17.13 MB, free: 5.758 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.001417/0.001417, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.431/1.431, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.622/2.622, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 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.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.89 kB / 1.057 GB, free: 2.035 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3411, allocations: 160.7 MB / 1.214 GB, free: 1.004 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005403/0.3465, allocations: 3.758 MB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004651/0.3511, allocations: 2.521 MB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004492/0.3516, allocations: 11.94 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008425/0.3524, allocations: 254.3 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.3535, allocations: 497.6 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.355, allocations: 0.553 MB / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.3568, allocations: 1.387 MB / 1.223 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.357, allocations: 97.17 kB / 1.223 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006995/0.3577, allocations: 446.4 kB / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007485/0.3585, allocations: 486 kB / 1.224 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3586, allocations: 56 kB / 1.224 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3588, allocations: 56 kB / 1.224 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004437/0.3592, allocations: 378.9 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.3597, allocations: 465.6 kB / 1.225 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.3607, allocations: 0.9334 MB / 1.226 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3608, allocations: 3.938 kB / 1.226 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3608, allocations: 0 / 1.226 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.3608, allocations: 4 kB / 1.226 GB, free: 5.086 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002397/0.3632, allocations: 1.299 MB / 1.227 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3632, allocations: 15.98 kB / 1.227 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.3634, allocations: 104.3 kB / 1.227 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3645, allocations: 0.6799 MB / 1.228 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.3645, allocations: 45.03 kB / 1.228 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/0.3646, allocations: 52.38 kB / 1.228 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.3653, allocations: 418.9 kB / 1.228 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3653, allocations: 0 / 1.228 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.3654, allocations: 16 kB / 1.228 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.3654, allocations: 8 kB / 1.228 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.3658, allocations: 234.4 kB / 1.228 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.3694, allocations: 2.49 MB / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.371, allocations: 0.522 MB / 1.231 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.3713, allocations: 149.3 kB / 1.231 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3713, allocations: 4 kB / 1.231 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3713, allocations: 34.56 kB / 1.232 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.472e-06/0.3713, allocations: 3.938 kB / 1.232 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.001782/0.3731, allocations: 0.9029 MB / 1.232 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3732, allocations: 55.41 kB / 1.232 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.3744, allocations: 0.9194 MB / 1.233 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.3745, allocations: 41.7 kB / 1.233 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.3749, allocations: 373.2 kB / 1.234 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.375, allocations: 115 kB / 1.234 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.3752, allocations: 174.6 kB / 1.234 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.3754, allocations: 394.8 kB / 1.234 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.3758, allocations: 245.8 kB / 1.235 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007566/0.3766, allocations: 0.6426 MB / 1.235 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3778, allocations: 0.8914 MB / 1.236 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.3778, allocations: 4 kB / 1.236 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001749/0.3795, allocations: 1.019 MB / 1.237 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.3795, allocations: 12 kB / 1.237 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.3796, allocations: 16 kB / 1.237 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000453/0.38, allocations: 126.6 kB / 1.237 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.3807, allocations: 187.7 kB / 1.237 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/0.3845, allocations: 4.477 MB / 1.242 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.3857, allocations: 119.5 kB / 1.242 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.3857, allocations: 43.94 kB / 1.242 GB, free: 3.031 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003985/0.3861, allocations: 269.5 kB / 1.242 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.3863, allocations: 83.44 kB / 1.242 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.3864, allocations: 84.5 kB / 1.242 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3864, allocations: 0 / 1.242 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.3864, allocations: 4 kB / 1.242 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.3865, allocations: 0 / 1.242 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008498/0.3873, allocations: 0.657 MB / 1.243 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3873, allocations: 0 / 1.243 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.3876, allocations: 63.89 kB / 1.243 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003312/0.388, allocations: 106.5 kB / 1.243 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.388, allocations: 8 kB / 1.243 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003765/0.3918, allocations: 4.462 MB / 1.248 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3918, allocations: 0 / 1.248 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.393, allocations: 0.7355 MB / 1.248 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.3934, allocations: 212.3 kB / 1.248 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/0.3935, allocations: 11.98 kB / 1.249 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.3939, allocations: 19.97 kB / 1.249 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.394, allocations: 35.91 kB / 1.249 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.394, allocations: 8 kB / 1.249 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009507/0.395, allocations: 0.6239 MB / 1.249 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.395, allocations: 0 / 1.249 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009845/0.396, allocations: 267.8 kB / 1.249 GB, free: 10.88 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001691/0.3961, allocations: 107.2 kB / 1.25 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.3976, allocations: 0.9008 MB / 1.25 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3976, allocations: 4 kB / 1.25 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006902/0.3983, allocations: 0.5043 MB / 1.251 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/0.3992, allocations: 179.4 kB / 1.251 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.4021, allocations: 1.818 MB / 1.253 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.4028, allocations: 0.9877 MB / 1.254 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.403, allocations: 51.44 kB / 1.254 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/0.403, allocations: 0 / 1.254 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of Templates: time 0.6266/1.03, allocations: 17.71 MB / 1.271 GB, free: 44.07 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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: 13.42218597815372]