Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00124/0.00124, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001439/0.001439, allocations: 191.2 kB / 22.23 MB, free: 5.133 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.366/1.366, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.91/2.91, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 68.23 kB / 1.138 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00569/0.3681, allocations: 3.784 MB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004855/0.373, allocations: 2.532 MB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006758/0.3737, allocations: 23.88 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009593/0.3746, allocations: 254.3 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.3761, allocations: 0.5327 MB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3776, allocations: 0.5651 MB / 1.315 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.3796, allocations: 1.402 MB / 1.316 GB, free: 8.695 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002739/0.3798, allocations: 109.7 kB / 1.316 GB, free: 8.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008574/0.3807, allocations: 434.5 kB / 1.317 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009023/0.3816, allocations: 0.4942 MB / 1.317 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.441e-05/0.3817, allocations: 56 kB / 1.317 GB, free: 7.605 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3818, allocations: 64 kB / 1.317 GB, free: 7.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004093/0.3822, allocations: 398.8 kB / 1.318 GB, free: 7.152 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.3827, allocations: 469.6 kB / 1.318 GB, free: 6.691 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009797/0.3837, allocations: 0.9451 MB / 1.319 GB, free: 5.742 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3837, allocations: 0 / 1.319 GB, free: 5.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3837, allocations: 0 / 1.319 GB, free: 5.742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.3837, allocations: 0 / 1.319 GB, free: 5.742 MB / 1.014 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.002306/0.386, allocations: 1.228 MB / 1.32 GB, free: 4.477 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.386, allocations: 12.86 kB / 1.32 GB, free: 4.465 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3862, allocations: 108.3 kB / 1.32 GB, free: 4.359 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.3873, allocations: 0.6105 MB / 1.321 GB, free: 3.727 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.3873, allocations: 41.03 kB / 1.321 GB, free: 3.688 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/0.3874, allocations: 68.36 kB / 1.321 GB, free: 3.621 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.388, allocations: 406.9 kB / 1.321 GB, free: 3.188 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.388, allocations: 0 / 1.321 GB, free: 3.188 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.3881, allocations: 19.94 kB / 1.321 GB, free: 3.168 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3881, allocations: 12 kB / 1.321 GB, free: 3.156 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.3885, allocations: 230.4 kB / 1.322 GB, free: 2.934 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.3915, allocations: 2.459 MB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.3929, allocations: 0.5299 MB / 1.325 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.3931, allocations: 156.7 kB / 1.325 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.3932, allocations: 4 kB / 1.325 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3932, allocations: 38.56 kB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.412e-06/0.3932, allocations: 0 / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001489/0.3947, allocations: 0.6519 MB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.3947, allocations: 59.41 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.3959, allocations: 0.9427 MB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.396, allocations: 33.7 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.3963, allocations: 373.2 kB / 1.327 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.3964, allocations: 119 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.3966, allocations: 170.6 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002517/0.3969, allocations: 390.7 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/0.3975, allocations: 245.8 kB / 1.328 GB, free: 12.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.3982, allocations: 0.6391 MB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.3993, allocations: 0.8887 MB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.3993, allocations: 8 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001599/0.4009, allocations: 1.019 MB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4009, allocations: 12.03 kB / 1.33 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.4009, allocations: 16 kB / 1.33 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003905/0.4013, allocations: 126.4 kB / 1.33 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.4019, allocations: 187.7 kB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.4054, allocations: 4.172 MB / 1.335 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.4063, allocations: 119.2 kB / 1.335 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.4063, allocations: 40 kB / 1.335 GB, free: 4.559 MB / 1.029 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.0003426/0.4067, allocations: 277.3 kB / 1.335 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.4068, allocations: 83.44 kB / 1.335 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.4069, allocations: 76.59 kB / 1.335 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4069, allocations: 12.12 kB / 1.335 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.4069, allocations: 0 / 1.335 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.407, allocations: 7.969 kB / 1.335 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/0.4077, allocations: 0.6288 MB / 1.336 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4077, allocations: 0 / 1.336 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.408, allocations: 63.89 kB / 1.336 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003088/0.4084, allocations: 106.5 kB / 1.336 GB, free: 3.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.4084, allocations: 8 kB / 1.336 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/0.4118, allocations: 4.148 MB / 1.34 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4118, allocations: 3.938 kB / 1.34 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.4129, allocations: 0.7326 MB / 1.341 GB, free: 13.99 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.4132, allocations: 143.2 kB / 1.341 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/0.4133, allocations: 8 kB / 1.341 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.4138, allocations: 23.97 kB / 1.341 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.4139, allocations: 31.89 kB / 1.341 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.4139, allocations: 7.984 kB / 1.341 GB, free: 13.78 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009032/0.4148, allocations: 0.6317 MB / 1.342 GB, free: 13.16 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4148, allocations: 4 kB / 1.342 GB, free: 13.15 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000802/0.4156, allocations: 259.9 kB / 1.342 GB, free: 12.9 MB / 1.045 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.0001524/0.4157, allocations: 108.7 kB / 1.342 GB, free: 12.78 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.4172, allocations: 0.8999 MB / 1.343 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4172, allocations: 0 / 1.343 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006377/0.4178, allocations: 0.521 MB / 1.343 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.4187, allocations: 176.5 kB / 1.343 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.4214, allocations: 1.749 MB / 1.345 GB, free: 9.332 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.422, allocations: 0.9878 MB / 1.346 GB, free: 8.316 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003768/0.4224, allocations: 145.9 kB / 1.346 GB, free: 8.172 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.4226, allocations: 51.44 kB / 1.346 GB, free: 8.121 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.4226, allocations: 3.938 kB / 1.346 GB, free: 8.117 MB / 1.045 GB Notification: Performance of Templates: time 0.0217/0.4443, allocations: 10.68 MB / 1.357 GB, free: 13.55 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.548113151453435]