Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001107/0.001107, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001212/0.001212, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9718/0.9718, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.889/1.889, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8128 GB, free: 304 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.542e-05, allocations: 2.312 kB / 0.8128 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01511/0.01513, allocations: 19.83 MB / 0.8322 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.02783, allocations: 10.04 MB / 0.842 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.03075, allocations: 210.4 kB / 0.8422 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.03306, allocations: 0.8608 MB / 0.843 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005766/0.03883, allocations: 2.833 MB / 0.8458 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.04201, allocations: 1.825 MB / 0.8476 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008764/0.05077, allocations: 8.907 MB / 0.8563 GB, free: 3.695 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006614/0.05739, allocations: 5.375 MB / 0.8615 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008733/0.06612, allocations: 5.692 MB / 0.8671 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005687/0.07181, allocations: 3.944 MB / 0.8709 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.07345, allocations: 0.7031 MB / 0.8716 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.07542, allocations: 0.8006 MB / 0.8724 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002698/0.07812, allocations: 3.044 MB / 0.8754 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.004008/0.08213, allocations: 2.378 MB / 0.8777 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.008326/0.09045, allocations: 5.726 MB / 0.8833 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.09046, allocations: 0 / 0.8833 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.164e-06/0.09047, allocations: 4 kB / 0.8833 GB, free: 7.863 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003554/0.09082, allocations: 0 / 0.8833 GB, free: 7.863 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.008315/0.09914, allocations: 6.116 MB / 0.8892 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.09917, allocations: 8.031 kB / 0.8893 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00418/0.1034, allocations: 1.635 MB / 0.8908 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/0.1076, allocations: 3.087 MB / 0.8939 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.1078, allocations: 370.4 kB / 0.8942 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006976/0.1085, allocations: 0.5042 MB / 0.8947 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0064/0.1149, allocations: 4.955 MB / 0.8995 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.1151, allocations: 35.69 kB / 0.8996 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000358/0.1154, allocations: 216 kB / 0.8998 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005131/0.1159, allocations: 361.7 kB / 0.9001 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.1188, allocations: 1.495 MB / 0.9016 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.139, allocations: 21.52 MB / 0.9226 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/0.1399, allocations: 0.7848 MB / 0.9234 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.1407, allocations: 0.7008 MB / 0.9241 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.434e-05/0.1408, allocations: 30 kB / 0.9241 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.1408, allocations: 55.39 kB / 0.9241 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=171): time 4.869e-06/0.1408, allocations: 0 / 0.9241 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=276): time 0.01476/0.1556, allocations: 7.776 MB / 0.9317 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1556, allocations: 85.52 kB / 0.9318 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.1575, allocations: 1.816 MB / 0.9336 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.1577, allocations: 73.7 kB / 0.9337 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.1588, allocations: 2.431 MB / 0.936 GB, free: 460 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000702/0.1595, allocations: 1.007 MB / 0.937 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000635/0.1601, allocations: 0.5285 MB / 0.9375 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1602, allocations: 476.8 kB / 0.938 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.1609, allocations: 0.4976 MB / 0.9385 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.1621, allocations: 1.393 MB / 0.9398 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.164, allocations: 2.134 MB / 0.9419 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.164, allocations: 4 kB / 0.9419 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.005947/0.17, allocations: 3.824 MB / 0.9457 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.17, allocations: 12 kB / 0.9457 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.17, allocations: 20 kB / 0.9457 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006026/0.176, allocations: 2.517 MB / 0.9481 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009605/0.177, allocations: 355.4 kB / 0.9485 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.1958, allocations: 19.5 MB / 0.9675 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.1977, allocations: 79.98 kB / 0.9676 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.1979, allocations: 92 kB / 0.9677 GB, free: 14.52 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0015/0.1994, allocations: 316 kB / 0.968 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/0.2, allocations: 398.1 kB / 0.9684 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.2055, allocations: 3.524 MB / 0.9718 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.2055, allocations: 24 kB / 0.9718 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.345e-05/0.2055, allocations: 36 kB / 0.9719 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.2055, allocations: 11.95 kB / 0.9719 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009632/0.2152, allocations: 6.414 MB / 0.9781 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.2152, allocations: 4 kB / 0.9781 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.2156, allocations: 191.6 kB / 0.9783 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005336/0.221, allocations: 2.324 MB / 0.9806 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.2211, allocations: 51.94 kB / 0.9806 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/0.2386, allocations: 19.35 MB / 0.9995 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.2386, allocations: 8.062 kB / 0.9996 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/0.244, allocations: 3.607 MB / 1.003 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.2452, allocations: 0.5798 MB / 1.004 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/0.2455, allocations: 55.98 kB / 1.004 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/0.2463, allocations: 56 kB / 1.004 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007025/0.247, allocations: 269.2 kB / 1.004 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.2471, allocations: 56 kB / 1.004 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000844/0.248, allocations: 0.982 MB / 1.005 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.91e-07/0.248, allocations: 0 / 1.005 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003034/0.251, allocations: 1.375 MB / 1.006 GB, free: 5.652 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002709/0.2513, allocations: 179 kB / 1.007 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005307/0.2566, allocations: 4.312 MB / 1.011 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.2566, allocations: 0 / 1.011 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00379/0.2604, allocations: 3.4 MB / 1.014 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/0.2633, allocations: 1.022 MB / 1.015 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.2758, allocations: 8.821 MB / 1.024 GB, free: 3.543 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.2774, allocations: 1.416 MB / 1.025 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001239/0.2786, allocations: 342.8 kB / 1.025 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.2799, allocations: 0.8608 MB / 1.026 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of SimCode: time 2.505e-06/0.2799, allocations: 4 kB / 1.026 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of Templates: time 0.4398/0.7197, allocations: 81.93 MB / 1.106 GB, free: 134.8 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 7.115020307712257]