Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001274/0.001274, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.00139/0.00139, allocations: 161 kB / 24.16 MB, free: 332 kB / 18.57 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 0.939/0.939, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.908/1.908, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.331e-05, allocations: 2.312 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003959/0.003982, allocations: 2.834 MB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003658/0.007641, allocations: 2.816 MB / 0.7655 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.007861, allocations: 7.938 kB / 0.7655 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.009166, allocations: 0.5228 MB / 0.766 GB, free: 456 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005538/0.009719, allocations: 310.9 kB / 0.7663 GB, free: 148 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.01056, allocations: 389.5 kB / 0.7667 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.01218, allocations: 1.506 MB / 0.7682 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.01239, allocations: 70.41 kB / 0.7683 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.01368, allocations: 0.6092 MB / 0.7688 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/0.01429, allocations: 403.8 kB / 0.7692 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.779e-05/0.01436, allocations: 48.84 kB / 0.7693 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.01451, allocations: 67.92 kB / 0.7693 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.01476, allocations: 303.7 kB / 0.7696 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.01502, allocations: 247.4 kB / 0.7699 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.01565, allocations: 0.6069 MB / 0.7705 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.01565, allocations: 0 / 0.7705 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01565, allocations: 0 / 0.7705 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.01566, allocations: 0 / 0.7705 GB, free: 11.92 MB / 0.7292 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.001302/0.01697, allocations: 0.9332 MB / 0.7714 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.017, allocations: 12.97 kB / 0.7714 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.01721, allocations: 76.84 kB / 0.7715 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/0.01785, allocations: 462.6 kB / 0.7719 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.01788, allocations: 28.88 kB / 0.7719 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.01795, allocations: 40.33 kB / 0.772 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.01826, allocations: 229.2 kB / 0.7722 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.01827, allocations: 192 / 0.7722 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.01829, allocations: 12.12 kB / 0.7722 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.0183, allocations: 8 kB / 0.7722 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.01843, allocations: 74.17 kB / 0.7723 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.01976, allocations: 1.103 MB / 0.7734 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.02029, allocations: 272.4 kB / 0.7736 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.141e-05/0.02035, allocations: 38.16 kB / 0.7736 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.02036, allocations: 4 kB / 0.7737 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.02038, allocations: 34.5 kB / 0.7737 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/0.02039, allocations: 4 kB / 0.7737 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003847/0.02077, allocations: 183.2 kB / 0.7739 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.0208, allocations: 51.41 kB / 0.7739 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.02131, allocations: 0.5584 MB / 0.7745 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.02134, allocations: 37.7 kB / 0.7745 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.02147, allocations: 233.9 kB / 0.7747 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.02152, allocations: 75.36 kB / 0.7748 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.02165, allocations: 110.3 kB / 0.7749 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.02177, allocations: 378.6 kB / 0.7753 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.02187, allocations: 63.22 kB / 0.7753 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.02234, allocations: 310.5 kB / 0.7756 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.02273, allocations: 442.8 kB / 0.776 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.02274, allocations: 4.938 kB / 0.776 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005317/0.02327, allocations: 378.6 kB / 0.7764 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.02329, allocations: 9.031 kB / 0.7764 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.0233, allocations: 8 kB / 0.7764 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.02349, allocations: 41.38 kB / 0.7765 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.02389, allocations: 160 kB / 0.7766 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007238/0.02462, allocations: 1.201 MB / 0.7778 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.02499, allocations: 73 kB / 0.7778 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.02502, allocations: 24 kB / 0.7779 GB, free: 3.805 MB / 0.7292 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.0001331/0.02516, allocations: 145.9 kB / 0.778 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.02523, allocations: 39.95 kB / 0.778 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.02529, allocations: 57.86 kB / 0.7781 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.02529, allocations: 0 / 0.7781 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.0253, allocations: 4.531 kB / 0.7781 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.0253, allocations: 1.656 kB / 0.7781 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.02563, allocations: 269.5 kB / 0.7784 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02563, allocations: 0 / 0.7784 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.02585, allocations: 64.59 kB / 0.7784 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.02596, allocations: 37.36 kB / 0.7785 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.02598, allocations: 12.7 kB / 0.7785 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006547/0.02664, allocations: 1.252 MB / 0.7797 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.02664, allocations: 0.8438 kB / 0.7797 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.02696, allocations: 319.1 kB / 0.78 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.0271, allocations: 87.42 kB / 0.7801 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.02716, allocations: 8 kB / 0.7801 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.02735, allocations: 12.95 kB / 0.7801 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.02739, allocations: 11.98 kB / 0.7801 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.0274, allocations: 8.922 kB / 0.7801 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002927/0.0277, allocations: 268.5 kB / 0.7804 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0277, allocations: 0 / 0.7804 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005323/0.02823, allocations: 188.9 kB / 0.7806 GB, free: 0.9102 MB / 0.7292 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.0001142/0.02834, allocations: 90.27 kB / 0.7807 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.02877, allocations: 308.8 kB / 0.7809 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.02878, allocations: 8 kB / 0.781 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.02893, allocations: 173.8 kB / 0.7811 GB, free: 324 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.02952, allocations: 174.7 kB / 0.7813 GB, free: 156 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.03095, allocations: 1.067 MB / 0.7823 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.03133, allocations: 178.6 kB / 0.7825 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.03148, allocations: 67.45 kB / 0.7826 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.03175, allocations: 173.3 kB / 0.7827 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of SimCode: time 1.133e-06/0.03175, allocations: 1.531 kB / 0.7827 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.01136/0.04311, allocations: 9.585 MB / 0.7921 GB, free: 5.32 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0213019251823425]