Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001549/0.001549, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001659/0.001659, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.37/1.37, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.999/2.999, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 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-master/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.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.5 kB / 1.145 GB, free: 30.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003999/0.3232, allocations: 2.775 MB / 1.319 GB, free: 6.957 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.3271, allocations: 2.815 MB / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.3273, allocations: 11.88 kB / 1.321 GB, free: 4.121 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.3287, allocations: 0.5097 MB / 1.322 GB, free: 3.609 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.3293, allocations: 290.8 kB / 1.322 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009206/0.3302, allocations: 422.1 kB / 1.323 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.332, allocations: 1.575 MB / 1.324 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.3321, allocations: 66.42 kB / 1.324 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005984/0.3327, allocations: 490.7 kB / 1.325 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.3333, allocations: 426.5 kB / 1.325 GB, free: 372 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.3334, allocations: 48 kB / 1.325 GB, free: 324 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3335, allocations: 55.94 kB / 1.325 GB, free: 268 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.3338, allocations: 287.1 kB / 1.325 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.3342, allocations: 374.2 kB / 1.326 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009189/0.3351, allocations: 0.9147 MB / 1.327 GB, free: 14.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3352, allocations: 0 / 1.327 GB, free: 14.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3352, allocations: 0 / 1.327 GB, free: 14.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3352, allocations: 0 / 1.327 GB, free: 14.7 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002123/0.3373, allocations: 1.104 MB / 1.328 GB, free: 13.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3373, allocations: 8.031 kB / 1.328 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.3375, allocations: 84.42 kB / 1.328 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3385, allocations: 0.6303 MB / 1.329 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.3385, allocations: 28.88 kB / 1.329 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.3386, allocations: 40.36 kB / 1.329 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.3392, allocations: 382 kB / 1.329 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3392, allocations: 0 / 1.329 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.3392, allocations: 12 kB / 1.329 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3392, allocations: 8 kB / 1.329 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.3396, allocations: 233.5 kB / 1.329 GB, free: 12.11 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.3433, allocations: 2.428 MB / 1.332 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.3443, allocations: 389.4 kB / 1.332 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.3445, allocations: 136.7 kB / 1.332 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3446, allocations: 4 kB / 1.332 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3446, allocations: 30.56 kB / 1.332 GB, free: 8.926 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3446, allocations: 4 kB / 1.332 GB, free: 8.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009357/0.3455, allocations: 472 kB / 1.333 GB, free: 8.453 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.3456, allocations: 55.41 kB / 1.333 GB, free: 8.387 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.3467, allocations: 0.9454 MB / 1.334 GB, free: 7.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.3468, allocations: 33.7 kB / 1.334 GB, free: 7.391 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.347, allocations: 300.8 kB / 1.334 GB, free: 7.094 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.3471, allocations: 71.38 kB / 1.334 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.3473, allocations: 130.3 kB / 1.334 GB, free: 6.891 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3475, allocations: 378.7 kB / 1.334 GB, free: 6.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.3478, allocations: 241.1 kB / 1.335 GB, free: 6.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.3484, allocations: 0.4984 MB / 1.335 GB, free: 5.648 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/0.3492, allocations: 0.6999 MB / 1.336 GB, free: 4.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3492, allocations: 4 kB / 1.336 GB, free: 4.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001192/0.3504, allocations: 0.8167 MB / 1.337 GB, free: 3.992 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3504, allocations: 15.97 kB / 1.337 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3504, allocations: 8 kB / 1.337 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.3506, allocations: 56.81 kB / 1.337 GB, free: 3.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.3511, allocations: 139.7 kB / 1.337 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.3524, allocations: 1.439 MB / 1.338 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/0.353, allocations: 127.4 kB / 1.338 GB, free: 2.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.3531, allocations: 32.16 kB / 1.338 GB, free: 2.062 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003742/0.3534, allocations: 342.3 kB / 1.339 GB, free: 1.719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.3535, allocations: 67.52 kB / 1.339 GB, free: 1.652 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.3537, allocations: 65.94 kB / 1.339 GB, free: 1.582 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3537, allocations: 4 kB / 1.339 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3537, allocations: 0 / 1.339 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3537, allocations: 3.984 kB / 1.339 GB, free: 1.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.3543, allocations: 0.5548 MB / 1.339 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3543, allocations: 4 kB / 1.339 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.3546, allocations: 47.91 kB / 1.339 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/0.3547, allocations: 44.81 kB / 1.339 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.3547, allocations: 11.94 kB / 1.339 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.3559, allocations: 1.416 MB / 1.341 GB, free: 15.33 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3559, allocations: 4.031 kB / 1.341 GB, free: 15.33 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007657/0.3566, allocations: 0.5718 MB / 1.341 GB, free: 14.74 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.3569, allocations: 131.5 kB / 1.342 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.357, allocations: 7.984 kB / 1.342 GB, free: 14.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.3574, allocations: 51.86 kB / 1.342 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.3575, allocations: 11.98 kB / 1.342 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3575, allocations: 7.984 kB / 1.342 GB, free: 14.53 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009318/0.3584, allocations: 0.6629 MB / 1.342 GB, free: 13.87 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3584, allocations: 4 kB / 1.342 GB, free: 13.87 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000636/0.359, allocations: 179.9 kB / 1.342 GB, free: 13.69 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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): 1 system {(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.0001446/0.3592, allocations: 111.7 kB / 1.343 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009335/0.3601, allocations: 0.5585 MB / 1.343 GB, free: 13 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3601, allocations: 3.938 kB / 1.343 GB, free: 13 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.3604, allocations: 239.2 kB / 1.343 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.3612, allocations: 173.2 kB / 1.343 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.3634, allocations: 1.553 MB / 1.345 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.3641, allocations: 1.003 MB / 1.346 GB, free: 9.977 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.3644, allocations: 184.5 kB / 1.346 GB, free: 9.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3646, allocations: 35.44 kB / 1.346 GB, free: 9.758 MB / 1.045 GB Notification: Performance of SimCode: time 8.02e-07/0.3646, allocations: 0 / 1.346 GB, free: 9.758 MB / 1.045 GB Notification: Performance of Templates: time 0.01506/0.3796, allocations: 8.811 MB / 1.355 GB, free: 1.062 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.42397697456181]