Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0009688/0.0009688, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009747/0.0009747, allocations: 161 kB / 23.82 MB, free: 0.75 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.8848/0.8848, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.678/1.678, allocations: 359 MB / 0.6052 GB, free: 11 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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.842e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.003992/0.004011, allocations: 4.196 MB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.006274, allocations: 1.538 MB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.006508, allocations: 31.69 kB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.00722, allocations: 182.2 kB / 0.7929 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005784/0.007798, allocations: 366.1 kB / 0.7933 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.008302, allocations: 338.1 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007952/0.009097, allocations: 0.998 MB / 0.7945 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004458/0.009543, allocations: 378.5 kB / 0.7949 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.01009, allocations: 0.5201 MB / 0.7954 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00044/0.01053, allocations: 390.9 kB / 0.7958 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.047e-05/0.01059, allocations: 49.28 kB / 0.7958 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.01081, allocations: 119.8 kB / 0.796 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.01098, allocations: 267.2 kB / 0.7962 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.01115, allocations: 243.4 kB / 0.7964 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.01168, allocations: 0.596 MB / 0.797 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01168, allocations: 0.75 kB / 0.797 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.22e-07/0.01168, allocations: 0 / 0.797 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.01169, allocations: 1 kB / 0.797 GB, free: 2.305 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009535/0.01264, allocations: 0.989 MB / 0.798 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.01267, allocations: 8.031 kB / 0.798 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007135/0.01339, allocations: 263.9 kB / 0.7982 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.01388, allocations: 487.1 kB / 0.7987 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.01391, allocations: 38.38 kB / 0.7987 GB, free: 492 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.01401, allocations: 64.53 kB / 0.7988 GB, free: 428 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.01466, allocations: 0.7913 MB / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.01468, allocations: 4.188 kB / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.01471, allocations: 24.12 kB / 0.7996 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.01482, allocations: 66.48 kB / 0.7997 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.01519, allocations: 283.2 kB / 0.7999 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.01775, allocations: 4.424 MB / 0.8043 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.01799, allocations: 156.7 kB / 0.8044 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.01811, allocations: 96.14 kB / 0.8045 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.01813, allocations: 9.312 kB / 0.8045 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.01815, allocations: 41.67 kB / 0.8046 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.293e-06/0.01815, allocations: 3.938 kB / 0.8046 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.002558/0.02071, allocations: 1.576 MB / 0.8061 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.02074, allocations: 55.41 kB / 0.8061 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.02104, allocations: 462.5 kB / 0.8066 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.02107, allocations: 37.7 kB / 0.8066 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.02123, allocations: 403.1 kB / 0.807 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/0.02131, allocations: 150.7 kB / 0.8072 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.02143, allocations: 111.9 kB / 0.8073 GB, free: 7.34 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.02157, allocations: 0.5352 MB / 0.8078 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.02172, allocations: 101.2 kB / 0.8079 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.02198, allocations: 350.3 kB / 0.8082 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.02241, allocations: 486.1 kB / 0.8087 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02241, allocations: 0 / 0.8087 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008159/0.02323, allocations: 0.6409 MB / 0.8093 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.02324, allocations: 11.98 kB / 0.8093 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.02325, allocations: 4 kB / 0.8093 GB, free: 5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.02384, allocations: 227 kB / 0.8095 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.02409, allocations: 111.8 kB / 0.8096 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.02701, allocations: 5.666 MB / 0.8152 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.02722, allocations: 31.97 kB / 0.8152 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.02724, allocations: 27.94 kB / 0.8152 GB, free: 14.56 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.02738, allocations: 192.4 kB / 0.8154 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.02745, allocations: 67.61 kB / 0.8155 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006794/0.02813, allocations: 0.4925 MB / 0.816 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.02813, allocations: 8 kB / 0.816 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.02813, allocations: 4.188 kB / 0.816 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.02814, allocations: 3.984 kB / 0.816 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.0293, allocations: 1.068 MB / 0.817 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.02931, allocations: 0 / 0.817 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.02948, allocations: 71.88 kB / 0.8171 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/0.02999, allocations: 223 kB / 0.8173 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.03001, allocations: 8 kB / 0.8173 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.0327, allocations: 5.659 MB / 0.8228 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.0327, allocations: 7.984 kB / 0.8228 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008318/0.03353, allocations: 0.7497 MB / 0.8236 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.03364, allocations: 91.58 kB / 0.8237 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.03368, allocations: 15.94 kB / 0.8237 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.03384, allocations: 23.97 kB / 0.8237 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.03391, allocations: 43.86 kB / 0.8237 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.03393, allocations: 12 kB / 0.8238 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001822/0.03411, allocations: 298.8 kB / 0.824 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.03411, allocations: 0 / 0.824 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004139/0.03453, allocations: 172 kB / 0.8242 GB, free: 4.816 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.03464, allocations: 115.1 kB / 0.8243 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008629/0.0355, allocations: 0.9325 MB / 0.8252 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.03551, allocations: 4 kB / 0.8252 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.036, allocations: 0.737 MB / 0.8259 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.03651, allocations: 170.9 kB / 0.8261 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.03797, allocations: 1.152 MB / 0.8272 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.0381, allocations: 182.5 kB / 0.8274 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.0383, allocations: 92.77 kB / 0.8275 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.03838, allocations: 32.5 kB / 0.8275 GB, free: 1.211 MB / 0.7761 GB Notification: Performance of SimCode: time 1.503e-06/0.03838, allocations: 4 kB / 0.8275 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of Templates: time 0.01157/0.04995, allocations: 9.675 MB / 0.837 GB, free: 7.738 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.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: 4.937797900754958]