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.0009124/0.0009124, allocations: 80.92 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.0009557/0.0009557, 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.9233/0.9233, 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.862/1.862, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.393e-06/1.393e-06, allocations: 0 / 0.76 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.343e-05, allocations: 7.438 kB / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003014/0.003037, allocations: 2.786 MB / 0.7627 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003119/0.006156, allocations: 2.814 MB / 0.7654 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.006354, allocations: 12.62 kB / 0.7655 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.007408, allocations: 492.7 kB / 0.7659 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004418/0.007849, allocations: 313.5 kB / 0.7662 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006763/0.008526, allocations: 417.9 kB / 0.7666 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.009688, allocations: 1.512 MB / 0.7681 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.009832, allocations: 70.41 kB / 0.7682 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006899/0.01052, allocations: 0.6132 MB / 0.7688 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.01097, allocations: 403.1 kB / 0.7692 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.296e-05/0.01104, allocations: 48.94 kB / 0.7692 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.01114, allocations: 55.94 kB / 0.7693 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.01134, allocations: 312.1 kB / 0.7695 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.01154, allocations: 247.4 kB / 0.7698 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.012, allocations: 0.5958 MB / 0.7704 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.012, allocations: 1.344 kB / 0.7704 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.012, allocations: 0 / 0.7704 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.01201, allocations: 0 / 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.0009766/0.01299, allocations: 0.9447 MB / 0.7713 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.01301, allocations: 8.031 kB / 0.7713 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.01316, allocations: 76.86 kB / 0.7714 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.01361, allocations: 461.6 kB / 0.7718 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.01363, allocations: 28.88 kB / 0.7718 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.01368, allocations: 44.33 kB / 0.7719 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.01391, allocations: 225.5 kB / 0.7721 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.01392, allocations: 4.844 kB / 0.7721 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.01394, allocations: 12.75 kB / 0.7721 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.01395, allocations: 8 kB / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.818e-05/0.01404, allocations: 71.36 kB / 0.7722 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.0153, allocations: 1.107 MB / 0.7733 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.01572, allocations: 262.8 kB / 0.7735 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.01577, allocations: 40.83 kB / 0.7736 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.01578, allocations: 4 kB / 0.7736 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.87e-05/0.0158, allocations: 34.56 kB / 0.7736 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.0158, allocations: 2.906 kB / 0.7736 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003134/0.01611, allocations: 183.7 kB / 0.7738 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.01614, allocations: 55.41 kB / 0.7738 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.01651, allocations: 0.5584 MB / 0.7744 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.01653, allocations: 41.64 kB / 0.7744 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01664, allocations: 226 kB / 0.7746 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.01668, allocations: 74.91 kB / 0.7747 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.01677, allocations: 114.3 kB / 0.7748 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.01687, allocations: 374.6 kB / 0.7752 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.01694, allocations: 60.12 kB / 0.7752 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.0171, allocations: 318.5 kB / 0.7755 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.01738, allocations: 440.2 kB / 0.7759 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.01739, allocations: 0 / 0.7759 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003928/0.01778, allocations: 383.2 kB / 0.7763 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01779, allocations: 12 kB / 0.7763 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.0178, allocations: 9 kB / 0.7763 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.01795, allocations: 44.72 kB / 0.7764 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.01817, allocations: 124.8 kB / 0.7765 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005869/0.01875, allocations: 1.202 MB / 0.7777 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.01899, allocations: 60.45 kB / 0.7777 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.01902, allocations: 24 kB / 0.7777 GB, free: 3.98 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.0001202/0.01914, allocations: 161.2 kB / 0.7779 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.01919, allocations: 35.95 kB / 0.7779 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.01924, allocations: 58.8 kB / 0.778 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01924, allocations: 4 kB / 0.778 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.01924, allocations: 0.8438 kB / 0.778 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01925, allocations: 0 / 0.778 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.0195, allocations: 269.5 kB / 0.7783 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0195, allocations: 1.188 kB / 0.7783 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01961, allocations: 31.98 kB / 0.7783 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.01971, allocations: 38.03 kB / 0.7783 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.01973, allocations: 8 kB / 0.7783 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000782/0.02051, allocations: 1.248 MB / 0.7795 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02051, allocations: 5.312 kB / 0.7796 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.02075, allocations: 324.5 kB / 0.7799 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.02086, allocations: 93.2 kB / 0.78 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.0209, allocations: 7.984 kB / 0.78 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.02103, allocations: 8 kB / 0.78 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.02106, allocations: 15.91 kB / 0.78 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.02107, allocations: 4 kB / 0.78 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002108/0.02128, allocations: 269 kB / 0.7802 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-08/0.02128, allocations: 5.594 kB / 0.7802 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000356/0.02164, allocations: 187.8 kB / 0.7804 GB, free: 1.102 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 8.784e-05/0.02173, allocations: 89.86 kB / 0.7805 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.02203, allocations: 310 kB / 0.7808 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.02203, allocations: 8 kB / 0.7808 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.02214, allocations: 168.2 kB / 0.781 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.02256, allocations: 165.2 kB / 0.7811 GB, free: 360 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.02374, allocations: 1.076 MB / 0.7822 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.02385, allocations: 181.2 kB / 0.7824 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.02398, allocations: 62.59 kB / 0.7824 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.02421, allocations: 170.6 kB / 0.7826 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.02422, allocations: 0 / 0.7826 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of Templates: time 0.0106/0.03482, allocations: 9.35 MB / 0.7917 GB, free: 5.758 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 -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.12303528143093]