Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0009419/0.0009419, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001289/0.001289, allocations: 161 kB / 24.17 MB, free: 332 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.9552/0.9552, allocations: 177.1 MB / 204.6 MB, free: 5.141 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.904/1.904, allocations: 377.9 MB / 0.624 GB, free: 8.395 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.13e-05, allocations: 6.25 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007706/0.007727, allocations: 9.659 MB / 0.7694 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006942/0.01467, allocations: 6.041 MB / 0.7753 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006228/0.01529, allocations: 87.19 kB / 0.7754 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.01605, allocations: 379.5 kB / 0.7758 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.01823, allocations: 1.442 MB / 0.7772 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.01929, allocations: 0.6614 MB / 0.7778 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002219/0.02151, allocations: 2.601 MB / 0.7804 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.02256, allocations: 1.254 MB / 0.7816 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.02386, allocations: 1.574 MB / 0.7831 GB, free: 14.95 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009278/0.02479, allocations: 0.9869 MB / 0.7841 GB, free: 13.96 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.02497, allocations: 167.9 kB / 0.7843 GB, free: 13.79 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.02543, allocations: 312.2 kB / 0.7846 GB, free: 13.49 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0003915/0.02582, allocations: 0.655 MB / 0.7852 GB, free: 12.83 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.02633, allocations: 0.6429 MB / 0.7858 GB, free: 12.19 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.02789, allocations: 1.531 MB / 0.7873 GB, free: 10.65 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.02789, allocations: 0 / 0.7873 GB, free: 10.65 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.272e-06/0.02789, allocations: 0 / 0.7873 GB, free: 10.65 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.02791, allocations: 0 / 0.7873 GB, free: 10.65 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001842/0.02976, allocations: 1.972 MB / 0.7893 GB, free: 8.656 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.02979, allocations: 8.031 kB / 0.7893 GB, free: 8.648 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.03264, allocations: 0.8415 MB / 0.7901 GB, free: 7.812 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.03379, allocations: 1.058 MB / 0.7911 GB, free: 6.715 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.03384, allocations: 87.67 kB / 0.7912 GB, free: 6.629 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.03401, allocations: 128.3 kB / 0.7913 GB, free: 6.504 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.03586, allocations: 1.617 MB / 0.7929 GB, free: 4.695 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.03589, allocations: 11.88 kB / 0.7929 GB, free: 4.684 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.036, allocations: 55.97 kB / 0.793 GB, free: 4.629 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002624/0.03626, allocations: 131.1 kB / 0.7931 GB, free: 4.5 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000728/0.03699, allocations: 0.56 MB / 0.7936 GB, free: 3.938 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.04201, allocations: 5.727 MB / 0.7992 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009572/0.04297, allocations: 0.5672 MB / 0.7998 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.04355, allocations: 255.7 kB / 0.8 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.0436, allocations: 17 kB / 0.8 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.04362, allocations: 43.56 kB / 0.8001 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=89): time 2.334e-06/0.04362, allocations: 0 / 0.8001 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90): time 0.006361/0.04999, allocations: 3.231 MB / 0.8032 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.05001, allocations: 64.34 kB / 0.8033 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.05054, allocations: 0.8518 MB / 0.8041 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.05062, allocations: 45.7 kB / 0.8042 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.05086, allocations: 0.5768 MB / 0.8047 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.05104, allocations: 321.1 kB / 0.805 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.05128, allocations: 186.7 kB / 0.8052 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.05136, allocations: 353.9 kB / 0.8056 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.05162, allocations: 190.5 kB / 0.8057 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.05198, allocations: 440.5 kB / 0.8062 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/0.0529, allocations: 0.7077 MB / 0.8069 GB, free: 6.012 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.0529, allocations: 0 / 0.8069 GB, free: 6.012 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001715/0.05462, allocations: 1.206 MB / 0.808 GB, free: 4.762 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.05464, allocations: 11.94 kB / 0.808 GB, free: 4.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.05465, allocations: 8 kB / 0.8081 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/0.05647, allocations: 0.7697 MB / 0.8088 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.05698, allocations: 179.7 kB / 0.809 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/0.06409, allocations: 12.35 MB / 0.821 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.06465, allocations: 55.97 kB / 0.8211 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.06472, allocations: 35.97 kB / 0.8211 GB, free: 6.453 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.06504, allocations: 176.5 kB / 0.8213 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.06521, allocations: 115.9 kB / 0.8214 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.06696, allocations: 1.188 MB / 0.8226 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.06696, allocations: 16 kB / 0.8226 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.06697, allocations: 4 kB / 0.8226 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.06698, allocations: 7.984 kB / 0.8226 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.06979, allocations: 2.019 MB / 0.8246 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.0698, allocations: 4 kB / 0.8246 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.0702, allocations: 123.8 kB / 0.8247 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.07197, allocations: 0.7464 MB / 0.8254 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.07203, allocations: 27.97 kB / 0.8254 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006755/0.07878, allocations: 12.03 MB / 0.8372 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.07878, allocations: 0 / 0.8372 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.08043, allocations: 1.192 MB / 0.8383 GB, free: 3.672 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.08077, allocations: 243 kB / 0.8386 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.08089, allocations: 16 kB / 0.8386 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.08131, allocations: 39.98 kB / 0.8386 GB, free: 3.379 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.08147, allocations: 96.7 kB / 0.8387 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.08152, allocations: 27.97 kB / 0.8387 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002988/0.08182, allocations: 429 kB / 0.8392 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.08182, allocations: 0 / 0.8392 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001019/0.08284, allocations: 475.9 kB / 0.8396 GB, free: 2.367 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 (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.08302, allocations: 108.3 kB / 0.8397 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.08509, allocations: 1.943 MB / 0.8416 GB, free: 200 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.08511, allocations: 12.5 kB / 0.8416 GB, free: 188 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.08637, allocations: 1.602 MB / 0.8432 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.08743, allocations: 0.5137 MB / 0.8437 GB, free: 13.97 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.09087, allocations: 2.505 MB / 0.8461 GB, free: 11.4 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.09147, allocations: 384.2 kB / 0.8465 GB, free: 11 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.0008304/0.0923, allocations: 287.2 kB / 0.8468 GB, free: 10.71 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007423/0.09304, allocations: 411 kB / 0.8472 GB, free: 10.3 MB / 0.8074 GB Notification: Performance of SimCode: time 1.773e-06/0.09304, allocations: 4 kB / 0.8472 GB, free: 10.3 MB / 0.8074 GB Notification: Performance of Templates: time 0.04023/0.1333, allocations: 34.36 MB / 0.8807 GB, free: 8.586 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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.73771728714928]