Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0008418/0.0008418, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009166/0.0009166, allocations: 181.3 kB / 24.09 MB, free: 416 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.8927/0.8927, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.719/1.719, allocations: 359 MB / 0.6055 GB, free: 10.88 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.157e-05, allocations: 8.781 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.003541/0.003553, allocations: 4.142 MB / 0.7916 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.005456, allocations: 1.552 MB / 0.7931 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.005665, allocations: 41.22 kB / 0.7932 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.006033, allocations: 202.5 kB / 0.7934 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.006466, allocations: 401.7 kB / 0.7937 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.006892, allocations: 385.5 kB / 0.7941 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008235/0.007715, allocations: 1.143 MB / 0.7952 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005024/0.008217, allocations: 0.5061 MB / 0.7957 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000522/0.008739, allocations: 0.6169 MB / 0.7963 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.009121, allocations: 456.5 kB / 0.7968 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.009182, allocations: 56 kB / 0.7968 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.009347, allocations: 127.9 kB / 0.7969 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.009527, allocations: 311.1 kB / 0.7972 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.009708, allocations: 264 kB / 0.7975 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.01022, allocations: 0.6742 MB / 0.7981 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01022, allocations: 0 / 0.7981 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.01022, allocations: 0 / 0.7981 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.01023, allocations: 1.938 kB / 0.7981 GB, free: 1.316 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0008855/0.01111, allocations: 1.066 MB / 0.7992 GB, free: 220 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.01115, allocations: 12.03 kB / 0.7992 GB, free: 208 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006606/0.01181, allocations: 275.9 kB / 0.7995 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.01231, allocations: 0.5304 MB / 0.8 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.01234, allocations: 49.69 kB / 0.8 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/0.0124, allocations: 68.3 kB / 0.8001 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/0.01299, allocations: 0.8555 MB / 0.8009 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.01301, allocations: 8.953 kB / 0.8009 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.01304, allocations: 28.38 kB / 0.801 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.0131, allocations: 74.86 kB / 0.801 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.01337, allocations: 280.8 kB / 0.8013 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.01589, allocations: 5.52 MB / 0.8067 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.01616, allocations: 222.8 kB / 0.8069 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.01658, allocations: 238.7 kB / 0.8071 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.0166, allocations: 4.594 kB / 0.8071 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.01665, allocations: 45.67 kB / 0.8072 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 1.192e-06/0.01666, allocations: 1.438 kB / 0.8072 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.001697/0.01835, allocations: 0.9537 MB / 0.8081 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.01838, allocations: 59.19 kB / 0.8082 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.01864, allocations: 478.2 kB / 0.8086 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.01867, allocations: 33.7 kB / 0.8086 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.01885, allocations: 450.6 kB / 0.8091 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.881e-05/0.01894, allocations: 170.6 kB / 0.8092 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.01904, allocations: 111.9 kB / 0.8093 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.01917, allocations: 0.5429 MB / 0.8099 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.01926, allocations: 73.25 kB / 0.8099 GB, free: 4.711 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.01953, allocations: 384.7 kB / 0.8103 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.01987, allocations: 0.5095 MB / 0.8108 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01987, allocations: 4 kB / 0.8108 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006943/0.02057, allocations: 0.6635 MB / 0.8115 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.02058, allocations: 8 kB / 0.8115 GB, free: 2.863 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.02059, allocations: 4 kB / 0.8115 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/0.02106, allocations: 258.4 kB / 0.8117 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.02119, allocations: 87.84 kB / 0.8118 GB, free: 2.504 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.02471, allocations: 7.574 MB / 0.8192 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.02485, allocations: 16 kB / 0.8192 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.02487, allocations: 23.94 kB / 0.8192 GB, free: 10.43 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.02499, allocations: 200.4 kB / 0.8194 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.02505, allocations: 83.5 kB / 0.8195 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.02563, allocations: 0.5047 MB / 0.82 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.02564, allocations: 8 kB / 0.82 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.02564, allocations: 4 kB / 0.82 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02564, allocations: 3.984 kB / 0.82 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.02697, allocations: 0.9974 MB / 0.821 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.02697, allocations: 0 / 0.821 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.02704, allocations: 35.92 kB / 0.821 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.02748, allocations: 246.7 kB / 0.8213 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.02749, allocations: 8 kB / 0.8213 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.03082, allocations: 7.566 MB / 0.8287 GB, free: 204 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.03082, allocations: 3.938 kB / 0.8287 GB, free: 200 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.03143, allocations: 0.6935 MB / 0.8293 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-05/0.03153, allocations: 83.56 kB / 0.8294 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.03156, allocations: 12 kB / 0.8294 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.03166, allocations: 11.94 kB / 0.8294 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.03171, allocations: 43.86 kB / 0.8295 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.03172, allocations: 8 kB / 0.8295 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001259/0.03185, allocations: 290.7 kB / 0.8298 GB, free: 15 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.03185, allocations: 0 / 0.8298 GB, free: 15 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000391/0.03224, allocations: 200 kB / 0.83 GB, free: 14.81 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.356e-05/0.03233, allocations: 103.2 kB / 0.8301 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0007435/0.03308, allocations: 1.124 MB / 0.8312 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.03308, allocations: 0 / 0.8312 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/0.03358, allocations: 0.9255 MB / 0.8321 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.03406, allocations: 195.8 kB / 0.8322 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.03518, allocations: 1.183 MB / 0.8334 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.03531, allocations: 206.3 kB / 0.8336 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.03546, allocations: 61.03 kB / 0.8337 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.03566, allocations: 206.1 kB / 0.8339 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of SimCode: time 4.4e-07/0.03566, allocations: 4 kB / 0.8339 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of Templates: time 0.01247/0.04813, allocations: 11.09 MB / 0.8447 GB, free: 15.69 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.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.001204610802233]