Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.0009749/0.0009749, allocations: 87.58 kB / 20.45 MB, free: 4.109 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: 165 kB / 23.82 MB, free: 0.7422 MB / 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.9935/0.9935, allocations: 177.2 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.729/1.729, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.747e-05, allocations: 4.703 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003382/0.003399, allocations: 3.785 MB / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.006313, allocations: 2.51 MB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.006496, allocations: 23.81 kB / 0.7932 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.006995, allocations: 245.4 kB / 0.7935 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006696/0.007664, allocations: 0.5463 MB / 0.794 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.008384, allocations: 0.5693 MB / 0.7946 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009488/0.009332, allocations: 1.433 MB / 0.796 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.009486, allocations: 106.6 kB / 0.7961 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.009995, allocations: 0.5963 MB / 0.7967 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.01038, allocations: 432 kB / 0.7971 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.01045, allocations: 52 kB / 0.7971 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.01056, allocations: 72.45 kB / 0.7972 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.01082, allocations: 408.1 kB / 0.7976 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.01113, allocations: 319.2 kB / 0.7979 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.01164, allocations: 0.6537 MB / 0.7985 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.01164, allocations: 0 / 0.7985 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01164, allocations: 0.5312 kB / 0.7985 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.01165, allocations: 1.375 kB / 0.7985 GB, free: 0.7617 MB / 0.7448 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.001282/0.01293, allocations: 1.335 MB / 0.7998 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.01296, allocations: 11.97 kB / 0.7998 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.01318, allocations: 140.3 kB / 0.8 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.01376, allocations: 0.5733 MB / 0.8005 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.01379, allocations: 41.58 kB / 0.8006 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.01384, allocations: 63.77 kB / 0.8006 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.01417, allocations: 325 kB / 0.8009 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.01418, allocations: 192 / 0.8009 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.0142, allocations: 19.94 kB / 0.801 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.01421, allocations: 8 kB / 0.801 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.01437, allocations: 115.7 kB / 0.8011 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.016, allocations: 2.18 MB / 0.8032 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.0167, allocations: 422.2 kB / 0.8036 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.0168, allocations: 75.59 kB / 0.8037 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.01681, allocations: 4 kB / 0.8037 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.01683, allocations: 41.33 kB / 0.8037 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 1.293e-06/0.01683, allocations: 0 / 0.8037 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30): time 0.0007079/0.01754, allocations: 449 kB / 0.8041 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.01757, allocations: 60.12 kB / 0.8042 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.01825, allocations: 0.8741 MB / 0.8051 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.01828, allocations: 38.2 kB / 0.8051 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.01851, allocations: 445 kB / 0.8055 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.01858, allocations: 122.9 kB / 0.8056 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.01873, allocations: 184.3 kB / 0.8058 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.01891, allocations: 0.5831 MB / 0.8064 GB, free: 8.43 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.01907, allocations: 81.94 kB / 0.8065 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.01944, allocations: 0.6647 MB / 0.8071 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.02002, allocations: 0.824 MB / 0.8079 GB, free: 6.34 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.02003, allocations: 8 kB / 0.8079 GB, free: 6.332 MB / 0.7605 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008303/0.02086, allocations: 0.7378 MB / 0.8086 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.02087, allocations: 8 kB / 0.8086 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.02089, allocations: 19.98 kB / 0.8087 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.02121, allocations: 123 kB / 0.8088 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.02155, allocations: 187.7 kB / 0.809 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.02381, allocations: 5.372 MB / 0.8142 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.02423, allocations: 115.3 kB / 0.8143 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.02426, allocations: 40 kB / 0.8144 GB, free: 15.33 MB / 0.7761 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.000151/0.02441, allocations: 216.2 kB / 0.8146 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.02449, allocations: 103.4 kB / 0.8147 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.02455, allocations: 72.42 kB / 0.8147 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02455, allocations: 7.938 kB / 0.8147 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.02456, allocations: 4 kB / 0.8147 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.02457, allocations: 0 / 0.8147 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.02496, allocations: 472.2 kB / 0.8152 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.02497, allocations: 0 / 0.8152 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.02513, allocations: 63.88 kB / 0.8153 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.02537, allocations: 107 kB / 0.8154 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.02539, allocations: 7.938 kB / 0.8154 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.02736, allocations: 5.358 MB / 0.8206 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02736, allocations: 0 / 0.8206 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.02785, allocations: 0.5272 MB / 0.8211 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.02801, allocations: 135.2 kB / 0.8212 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.02807, allocations: 11.98 kB / 0.8213 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.02828, allocations: 19.97 kB / 0.8213 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.02834, allocations: 27.89 kB / 0.8213 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.02835, allocations: 12.03 kB / 0.8213 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004208/0.02877, allocations: 0.5184 MB / 0.8218 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02877, allocations: 0 / 0.8218 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000515/0.02929, allocations: 267.8 kB / 0.8221 GB, free: 6.973 MB / 0.7761 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 9.519e-05/0.02938, allocations: 107.2 kB / 0.8222 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007086/0.03009, allocations: 0.877 MB / 0.823 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03009, allocations: 0 / 0.823 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.03041, allocations: 0.6182 MB / 0.8236 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.03093, allocations: 168.4 kB / 0.8238 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.0326, allocations: 1.451 MB / 0.8252 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.03273, allocations: 190 kB / 0.8254 GB, free: 3.398 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.03294, allocations: 113.5 kB / 0.8255 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.03304, allocations: 56.5 kB / 0.8256 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.03304, allocations: 0 / 0.8256 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.01353/0.04657, allocations: 11.29 MB / 0.8366 GB, free: 8.184 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.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.181972659192979]