Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.0009644/0.0009644, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001064/0.001064, allocations: 161 kB / 24.17 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.9468/0.9468, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.845/1.845, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.635e-05, allocations: 5.547 kB / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.00301/0.003036, allocations: 2.777 MB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.006302, allocations: 2.806 MB / 0.7654 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.006516, allocations: 12.69 kB / 0.7654 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.007622, allocations: 0.4922 MB / 0.7659 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.008088, allocations: 317.3 kB / 0.7662 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.008828, allocations: 415.8 kB / 0.7666 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.01043, allocations: 1.511 MB / 0.7681 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.01058, allocations: 70.41 kB / 0.7681 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000734/0.01132, allocations: 0.6121 MB / 0.7687 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.01178, allocations: 399.1 kB / 0.7691 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.01184, allocations: 48.75 kB / 0.7692 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.01195, allocations: 55.94 kB / 0.7692 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.01215, allocations: 312.3 kB / 0.7695 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.01234, allocations: 247.4 kB / 0.7698 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.01281, allocations: 0.6036 MB / 0.7704 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.01281, allocations: 0.7812 kB / 0.7704 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.51e-07/0.01281, allocations: 0 / 0.7704 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.01281, allocations: 0.5625 kB / 0.7704 GB, free: 12.06 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.0009734/0.01379, allocations: 0.9405 MB / 0.7713 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.01382, allocations: 8.031 kB / 0.7713 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.01396, allocations: 68.86 kB / 0.7713 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.01442, allocations: 461.3 kB / 0.7718 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.01444, allocations: 28.88 kB / 0.7718 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.01449, allocations: 50.75 kB / 0.7719 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.01471, allocations: 225.5 kB / 0.7721 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.01472, allocations: 192 / 0.7721 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.01474, allocations: 12.12 kB / 0.7721 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.01475, allocations: 11.98 kB / 0.7721 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.542e-05/0.01483, allocations: 74.12 kB / 0.7722 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.01585, allocations: 1.107 MB / 0.7732 GB, free: 9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.01625, allocations: 266.8 kB / 0.7735 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.0163, allocations: 40.83 kB / 0.7735 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.01631, allocations: 7.938 kB / 0.7736 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.01632, allocations: 32.12 kB / 0.7736 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.01633, allocations: 0 / 0.7736 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.000315/0.01664, allocations: 176.3 kB / 0.7737 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.01667, allocations: 55.41 kB / 0.7738 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.01705, allocations: 0.5622 MB / 0.7744 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.01707, allocations: 38.36 kB / 0.7744 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.01718, allocations: 230 kB / 0.7746 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.01722, allocations: 72.16 kB / 0.7747 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.01731, allocations: 114.3 kB / 0.7748 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003531/0.01766, allocations: 379.8 kB / 0.7751 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.01774, allocations: 64.12 kB / 0.7752 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.01791, allocations: 310.5 kB / 0.7755 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.01821, allocations: 439.9 kB / 0.7759 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.01821, allocations: 3.281 kB / 0.7759 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003824/0.0186, allocations: 379.3 kB / 0.7763 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01861, allocations: 12 kB / 0.7763 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.01862, allocations: 9.031 kB / 0.7763 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.01876, allocations: 40.59 kB / 0.7763 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.01898, allocations: 128.9 kB / 0.7765 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000584/0.01957, allocations: 1.213 MB / 0.7777 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.01981, allocations: 60.55 kB / 0.7777 GB, free: 4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.01984, allocations: 24 kB / 0.7777 GB, free: 3.977 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.0001088/0.01995, allocations: 153.5 kB / 0.7779 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.02, allocations: 39.95 kB / 0.7779 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.02004, allocations: 58.77 kB / 0.778 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.02004, allocations: 0 / 0.778 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.02005, allocations: 0.7188 kB / 0.778 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.02005, allocations: 0 / 0.778 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.0203, allocations: 270.1 kB / 0.7782 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.02031, allocations: 0 / 0.7782 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.02041, allocations: 40.52 kB / 0.7783 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.02051, allocations: 30.22 kB / 0.7783 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.02052, allocations: 8 kB / 0.7783 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005156/0.02104, allocations: 1.251 MB / 0.7795 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.02104, allocations: 1.438 kB / 0.7795 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.02128, allocations: 330.5 kB / 0.7798 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.02139, allocations: 79.5 kB / 0.7799 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.02143, allocations: 13.7 kB / 0.7799 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.02156, allocations: 8 kB / 0.7799 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.0216, allocations: 15.91 kB / 0.78 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.02161, allocations: 8 kB / 0.78 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002186/0.02183, allocations: 269.4 kB / 0.7802 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-08/0.02183, allocations: 0 / 0.7802 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003896/0.02222, allocations: 188.7 kB / 0.7804 GB, free: 1.105 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.000108/0.02232, allocations: 89.98 kB / 0.7805 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.0227, allocations: 309.5 kB / 0.7808 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.02272, allocations: 9.031 kB / 0.7808 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.02285, allocations: 175.3 kB / 0.781 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.02331, allocations: 162.4 kB / 0.7811 GB, free: 360 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.02509, allocations: 1.071 MB / 0.7822 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.02522, allocations: 182.8 kB / 0.7823 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.02538, allocations: 63.47 kB / 0.7824 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.02565, allocations: 169.3 kB / 0.7826 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of SimCode: time 1.202e-06/0.02565, allocations: 0.9062 kB / 0.7826 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of Templates: time 0.01082/0.03647, allocations: 9.362 MB / 0.7917 GB, free: 5.75 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.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.079871594905853]