Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009489/0.0009489, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.0009769/0.0009769, allocations: 165 kB / 24.17 MB, free: 324 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.9607/0.9607, allocations: 177.1 MB / 204.6 MB, free: 5.504 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.834/1.834, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.852e-05, allocations: 8.219 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.01086/0.01087, allocations: 4.155 MB / 0.7641 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.01319, allocations: 1.603 MB / 0.7656 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.01643, allocations: 44.91 kB / 0.7657 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.01698, allocations: 190.6 kB / 0.7659 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005917/0.01757, allocations: 412.7 kB / 0.7663 GB, free: 268 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.01812, allocations: 382.9 kB / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009222/0.01904, allocations: 1.135 MB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003626/0.02267, allocations: 0.5509 MB / 0.7683 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006289/0.0233, allocations: 0.6171 MB / 0.7689 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.0238, allocations: 435.5 kB / 0.7693 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.02387, allocations: 56 kB / 0.7693 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.02407, allocations: 129.9 kB / 0.7695 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.0243, allocations: 311.1 kB / 0.7698 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.02455, allocations: 267.4 kB / 0.77 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007601/0.02531, allocations: 0.6694 MB / 0.7707 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.02531, allocations: 0 / 0.7707 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.02531, allocations: 1.688 kB / 0.7707 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.02532, allocations: 0 / 0.7707 GB, free: 11.73 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004085/0.0294, allocations: 0.9187 MB / 0.7716 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.02944, allocations: 12.03 kB / 0.7716 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009658/0.0304, allocations: 260.2 kB / 0.7718 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/0.03108, allocations: 0.5105 MB / 0.7723 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.03112, allocations: 50.3 kB / 0.7724 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-05/0.03121, allocations: 72.95 kB / 0.7724 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.03195, allocations: 0.7778 MB / 0.7732 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.03197, allocations: 9.094 kB / 0.7732 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/0.03203, allocations: 28.36 kB / 0.7732 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/0.03211, allocations: 73.2 kB / 0.7733 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.03245, allocations: 246.3 kB / 0.7735 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.03503, allocations: 3.874 MB / 0.7773 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.03534, allocations: 254.4 kB / 0.7776 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.03562, allocations: 226.4 kB / 0.7778 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.03564, allocations: 5.312 kB / 0.7778 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.03566, allocations: 39.25 kB / 0.7778 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.03566, allocations: 0 / 0.7778 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.001509/0.03717, allocations: 0.8841 MB / 0.7787 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.0372, allocations: 55.41 kB / 0.7787 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.03741, allocations: 415.1 kB / 0.7791 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.03743, allocations: 30.73 kB / 0.7792 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.03757, allocations: 364.9 kB / 0.7795 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.03764, allocations: 154.7 kB / 0.7797 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.03774, allocations: 107.3 kB / 0.7798 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.03783, allocations: 370.6 kB / 0.7801 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.0379, allocations: 66.56 kB / 0.7802 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.03808, allocations: 281 kB / 0.7805 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.03838, allocations: 423.1 kB / 0.7809 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.03839, allocations: 4 kB / 0.7809 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006165/0.039, allocations: 0.5664 MB / 0.7814 GB, free: 156 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.03902, allocations: 8.781 kB / 0.7814 GB, free: 148 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.03902, allocations: 4 kB / 0.7814 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.03954, allocations: 246.6 kB / 0.7817 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.03969, allocations: 83.84 kB / 0.7817 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.04264, allocations: 5.395 MB / 0.787 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.04278, allocations: 23.98 kB / 0.787 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.04281, allocations: 24.5 kB / 0.7871 GB, free: 9.984 MB / 0.7448 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.0001639/0.04298, allocations: 150.2 kB / 0.7872 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.04306, allocations: 43.95 kB / 0.7872 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/0.04367, allocations: 465 kB / 0.7877 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.04367, allocations: 9.578 kB / 0.7877 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.04368, allocations: 4.188 kB / 0.7877 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.04368, allocations: 7.938 kB / 0.7877 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009115/0.04459, allocations: 0.8926 MB / 0.7886 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.0446, allocations: 0 / 0.7886 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.04467, allocations: 31.94 kB / 0.7886 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004386/0.04511, allocations: 239.6 kB / 0.7888 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.04512, allocations: 4 kB / 0.7888 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002864/0.04799, allocations: 5.387 MB / 0.7941 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.04799, allocations: 4 kB / 0.7941 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.04855, allocations: 0.5956 MB / 0.7947 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/0.04864, allocations: 79.53 kB / 0.7948 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.04868, allocations: 8 kB / 0.7948 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.04878, allocations: 12 kB / 0.7948 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.04884, allocations: 47.8 kB / 0.7948 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.04886, allocations: 12.5 kB / 0.7948 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001002/0.04896, allocations: 172.4 kB / 0.795 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.04896, allocations: 1.688 kB / 0.795 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003861/0.04934, allocations: 196 kB / 0.7952 GB, free: 1.137 MB / 0.7448 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.554e-05/0.04944, allocations: 98.14 kB / 0.7953 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007012/0.05014, allocations: 0.8731 MB / 0.7961 GB, free: 120 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.05015, allocations: 8.5 kB / 0.7961 GB, free: 112 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.05061, allocations: 0.6919 MB / 0.7968 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.05106, allocations: 197.9 kB / 0.797 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.05244, allocations: 1.17 MB / 0.7982 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.05257, allocations: 214.1 kB / 0.7984 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.05269, allocations: 61.05 kB / 0.7984 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.05289, allocations: 173.2 kB / 0.7986 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of SimCode: time 8.72e-07/0.05289, allocations: 0 / 0.7986 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of Templates: time 0.0124/0.06529, allocations: 11.09 MB / 0.8094 GB, free: 2.613 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.196125403046608]