Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0009881/0.0009881, 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.00108/0.00108, allocations: 181 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.9803/0.9803, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.814/1.814, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.342e-05, allocations: 6.25 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01026/0.01028, allocations: 13 MB / 0.8247 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00607/0.01635, allocations: 3.869 MB / 0.8285 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.0178, allocations: 127 kB / 0.8286 GB, free: 432 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.01897, allocations: 0.54 MB / 0.8291 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.02146, allocations: 1.515 MB / 0.8306 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.02363, allocations: 1.093 MB / 0.8317 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005401/0.02903, allocations: 5.963 MB / 0.8375 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00402/0.03305, allocations: 3.167 MB / 0.8406 GB, free: 4.043 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/0.03765, allocations: 3.429 MB / 0.844 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003595/0.04125, allocations: 2.919 MB / 0.8468 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0006585/0.04191, allocations: 459.9 kB / 0.8472 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.04304, allocations: 0.5972 MB / 0.8478 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.04461, allocations: 2.206 MB / 0.85 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.04619, allocations: 1.501 MB / 0.8515 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.04958, allocations: 3.88 MB / 0.8552 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.04958, allocations: 0 / 0.8552 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.293e-06/0.04958, allocations: 0 / 0.8552 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.013e-05/0.04965, allocations: 8 kB / 0.8552 GB, free: 5.031 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.004005/0.05366, allocations: 4.004 MB / 0.8592 GB, free: 0.9727 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.0537, allocations: 8.031 kB / 0.8592 GB, free: 0.9648 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.05668, allocations: 1.196 MB / 0.8603 GB, free: 15.77 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.05889, allocations: 1.985 MB / 0.8623 GB, free: 13.73 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.05901, allocations: 250.3 kB / 0.8625 GB, free: 13.49 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.05937, allocations: 319.9 kB / 0.8628 GB, free: 13.18 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/0.06282, allocations: 3.343 MB / 0.8661 GB, free: 9.438 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.06288, allocations: 15.88 kB / 0.8661 GB, free: 9.422 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/0.06309, allocations: 143.9 kB / 0.8662 GB, free: 9.281 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005652/0.06366, allocations: 410.3 kB / 0.8666 GB, free: 8.879 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.0652, allocations: 1.078 MB / 0.8677 GB, free: 7.789 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.07898, allocations: 18.77 MB / 0.886 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.07955, allocations: 393.7 kB / 0.8864 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.08006, allocations: 451 kB / 0.8868 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.496e-05/0.08013, allocations: 29 kB / 0.8868 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.08016, allocations: 42.39 kB / 0.8869 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 2.685e-06/0.08017, allocations: 0 / 0.8869 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.01568/0.09585, allocations: 7.934 MB / 0.8946 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.09589, allocations: 77.39 kB / 0.8947 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.09744, allocations: 1.218 MB / 0.8959 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.09765, allocations: 53.7 kB / 0.8959 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009082/0.09856, allocations: 1.663 MB / 0.8976 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005586/0.09912, allocations: 0.6546 MB / 0.8982 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/0.0996, allocations: 377 kB / 0.8986 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.09974, allocations: 484.8 kB / 0.899 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.1003, allocations: 383.8 kB / 0.8994 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009446/0.1012, allocations: 1.184 MB / 0.9005 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.1031, allocations: 1.76 MB / 0.9023 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.1031, allocations: 8 kB / 0.9023 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006842/0.11, allocations: 4.057 MB / 0.9062 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.11, allocations: 12 kB / 0.9062 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.11, allocations: 16 kB / 0.9063 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007081/0.1171, allocations: 2.785 MB / 0.909 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.1178, allocations: 271.5 kB / 0.9092 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.135, allocations: 17.56 MB / 0.9264 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.1362, allocations: 52 kB / 0.9264 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.1363, allocations: 68 kB / 0.9265 GB, free: 9.422 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008079/0.1371, allocations: 272.1 kB / 0.9268 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.1375, allocations: 250.8 kB / 0.927 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006935/0.1444, allocations: 3.922 MB / 0.9308 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.1444, allocations: 20 kB / 0.9309 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-05/0.1445, allocations: 27.98 kB / 0.9309 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.1445, allocations: 11.91 kB / 0.9309 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.156, allocations: 6.062 MB / 0.9368 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.156, allocations: 8 kB / 0.9368 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.1564, allocations: 135.7 kB / 0.937 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006723/0.1631, allocations: 2.693 MB / 0.9396 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.1633, allocations: 43.88 kB / 0.9396 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/0.1799, allocations: 17.45 MB / 0.9567 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.1799, allocations: 8 kB / 0.9567 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006821/0.1868, allocations: 4.029 MB / 0.9606 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008382/0.1876, allocations: 430.4 kB / 0.961 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.1878, allocations: 36 kB / 0.9611 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.1884, allocations: 36 kB / 0.9611 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008469/0.1893, allocations: 176.9 kB / 0.9613 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.1894, allocations: 35.94 kB / 0.9613 GB, free: 4.676 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008602/0.1903, allocations: 0.663 MB / 0.9619 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1903, allocations: 0 / 0.9619 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002556/0.1928, allocations: 1.121 MB / 0.963 GB, free: 2.895 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002295/0.1931, allocations: 154.9 kB / 0.9632 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005299/0.1984, allocations: 3.866 MB / 0.967 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.1984, allocations: 4.062 kB / 0.967 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003914/0.2023, allocations: 3.117 MB / 0.97 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.2038, allocations: 0.5121 MB / 0.9705 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007575/0.2114, allocations: 5.931 MB / 0.9763 GB, free: 4.934 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.2124, allocations: 0.9994 MB / 0.9773 GB, free: 3.906 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005797/0.213, allocations: 191.9 kB / 0.9775 GB, free: 3.715 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.2136, allocations: 449.9 kB / 0.9779 GB, free: 3.273 MB / 0.9323 GB Notification: Performance of SimCode: time 1.313e-06/0.2136, allocations: 3.938 kB / 0.9779 GB, free: 3.27 MB / 0.9323 GB Notification: Performance of Templates: time 0.07475/0.2883, allocations: 66.91 MB / 1.043 GB, free: 0.8672 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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: 5.916949111968279]