Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.0009785/0.0009785, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009799/0.0009799, allocations: 169 kB / 24.28 MB, free: 276 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.9667/0.9667, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.769/1.769, allocations: 359 MB / 0.6055 GB, free: 11.03 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.7871 GB, free: 11.71 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.582e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008566/0.008592, allocations: 10.14 MB / 0.797 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00413/0.01272, allocations: 3.233 MB / 0.8002 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.01319, allocations: 44.5 kB / 0.8002 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.01425, allocations: 0.6196 MB / 0.8008 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.01533, allocations: 0.795 MB / 0.8016 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.01638, allocations: 0.7583 MB / 0.8023 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002266/0.01865, allocations: 3.038 MB / 0.8053 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.01996, allocations: 1.416 MB / 0.8067 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.02151, allocations: 1.747 MB / 0.8084 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.02298, allocations: 1.621 MB / 0.81 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.02322, allocations: 236 kB / 0.8102 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008259/0.02405, allocations: 487.9 kB / 0.8107 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007123/0.02476, allocations: 1.168 MB / 0.8118 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.02539, allocations: 0.7913 MB / 0.8126 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.02714, allocations: 2.236 MB / 0.8148 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.02714, allocations: 7.984 kB / 0.8148 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.02714, allocations: 0 / 0.8148 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.296e-05/0.02717, allocations: 0 / 0.8148 GB, free: 15.3 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002364/0.02953, allocations: 2.281 MB / 0.817 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.02957, allocations: 12.03 kB / 0.817 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005086/0.03466, allocations: 1.667 MB / 0.8186 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.03602, allocations: 1.182 MB / 0.8198 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.03607, allocations: 119.4 kB / 0.8199 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.03628, allocations: 148.3 kB / 0.82 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.03874, allocations: 1.834 MB / 0.8218 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.03878, allocations: 8.125 kB / 0.8218 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.03892, allocations: 60.34 kB / 0.8219 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.0391, allocations: 211.1 kB / 0.8221 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.0408, allocations: 0.858 MB / 0.8229 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0083/0.0491, allocations: 8.956 MB / 0.8317 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.05011, allocations: 0.6459 MB / 0.8323 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.05081, allocations: 462.4 kB / 0.8328 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.277e-05/0.05089, allocations: 21 kB / 0.8328 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.05092, allocations: 46.39 kB / 0.8328 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.857e-06/0.05092, allocations: 0 / 0.8328 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.01879/0.06971, allocations: 9.435 MB / 0.842 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.06975, allocations: 69.41 kB / 0.8421 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008282/0.07058, allocations: 0.9013 MB / 0.843 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.07072, allocations: 49.7 kB / 0.843 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.07112, allocations: 0.8667 MB / 0.8439 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004359/0.07156, allocations: 0.678 MB / 0.8445 GB, free: 304 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004856/0.07205, allocations: 353.2 kB / 0.8449 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.07214, allocations: 480.8 kB / 0.8453 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009175/0.07306, allocations: 471.7 kB / 0.8458 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.07413, allocations: 0.9656 MB / 0.8467 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.07607, allocations: 1.549 MB / 0.8482 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.07608, allocations: 0 / 0.8482 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009142/0.08522, allocations: 4.754 MB / 0.8529 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.08525, allocations: 14.12 kB / 0.8529 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.08527, allocations: 12.66 kB / 0.8529 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009067/0.09433, allocations: 3.598 MB / 0.8564 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.0949, allocations: 203.6 kB / 0.8566 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/0.1175, allocations: 19.36 MB / 0.8755 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.1187, allocations: 103.9 kB / 0.8756 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.1188, allocations: 68 kB / 0.8757 GB, free: 15.52 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005417/0.1193, allocations: 256.2 kB / 0.8759 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.1196, allocations: 203.1 kB / 0.8761 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008918/0.1286, allocations: 4.728 MB / 0.8807 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.1286, allocations: 20 kB / 0.8808 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.233e-05/0.1286, allocations: 32 kB / 0.8808 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.1286, allocations: 7.969 kB / 0.8808 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.1407, allocations: 7.179 MB / 0.8878 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.1408, allocations: 0 / 0.8878 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.141, allocations: 123.8 kB / 0.8879 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008801/0.1498, allocations: 3.494 MB / 0.8913 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.15, allocations: 32 kB / 0.8914 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/0.1717, allocations: 17.84 MB / 0.9088 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1717, allocations: 4 kB / 0.9088 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009052/0.1808, allocations: 4.691 MB / 0.9134 GB, free: 8.113 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/0.1816, allocations: 0.4989 MB / 0.9139 GB, free: 7.613 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.1818, allocations: 47.88 kB / 0.9139 GB, free: 7.566 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.1825, allocations: 91.83 kB / 0.914 GB, free: 7.477 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006882/0.1832, allocations: 165.6 kB / 0.9142 GB, free: 7.312 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.97e-05/0.1833, allocations: 48 kB / 0.9142 GB, free: 7.266 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005183/0.1838, allocations: 0.5461 MB / 0.9147 GB, free: 6.707 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.1838, allocations: 0 / 0.9147 GB, free: 6.707 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002306/0.1861, allocations: 1.012 MB / 0.9157 GB, free: 5.695 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * 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: 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000326/0.1864, allocations: 141.3 kB / 0.9159 GB, free: 5.551 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00463/0.191, allocations: 3.259 MB / 0.919 GB, free: 2.223 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.1911, allocations: 0 / 0.919 GB, free: 2.223 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003885/0.1949, allocations: 2.741 MB / 0.9217 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.1959, allocations: 231.3 kB / 0.9219 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.2014, allocations: 4.054 MB / 0.9259 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.2021, allocations: 0.6389 MB / 0.9265 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004735/0.2025, allocations: 287.2 kB / 0.9268 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.2027, allocations: 60.5 kB / 0.9268 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of SimCode: time 1.904e-06/0.2027, allocations: 0 / 0.9268 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.06204/0.2647, allocations: 65.62 MB / 0.9909 GB, free: 8.281 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.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.809335107915103]