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.001213/0.001213, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.00102/0.00102, allocations: 185 kB / 24.09 MB, free: 412 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.9337/0.9337, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.837/1.837, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.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.413e-06/1.413e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.668e-05, allocations: 2.312 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.00805/0.008067, allocations: 9.644 MB / 0.8214 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006933/0.015, allocations: 5.905 MB / 0.8272 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.0161, allocations: 92.84 kB / 0.8273 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.01701, allocations: 373.1 kB / 0.8276 GB, free: 1.453 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.01983, allocations: 1.429 MB / 0.829 GB, free: 36 kB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.02103, allocations: 0.6495 MB / 0.8297 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002964/0.02399, allocations: 2.612 MB / 0.8322 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.02509, allocations: 1.188 MB / 0.8334 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.02647, allocations: 1.573 MB / 0.8349 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009169/0.02738, allocations: 1.017 MB / 0.8359 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.02754, allocations: 164 kB / 0.8361 GB, free: 8.793 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.02801, allocations: 324.4 kB / 0.8364 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.02838, allocations: 0.6543 MB / 0.837 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.02882, allocations: 0.644 MB / 0.8376 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.03022, allocations: 1.526 MB / 0.8391 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.03023, allocations: 4 kB / 0.8391 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.052e-06/0.03023, allocations: 4 kB / 0.8391 GB, free: 5.637 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.03024, allocations: 0 / 0.8391 GB, free: 5.637 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001986/0.03223, allocations: 2.139 MB / 0.8412 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.03227, allocations: 12.03 kB / 0.8412 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.03547, allocations: 0.889 MB / 0.8421 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.03658, allocations: 1.149 MB / 0.8432 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.03662, allocations: 86.73 kB / 0.8433 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.03679, allocations: 132.3 kB / 0.8434 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.03843, allocations: 1.702 MB / 0.8451 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.03845, allocations: 7.875 kB / 0.8451 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/0.03855, allocations: 51.98 kB / 0.8452 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002773/0.03883, allocations: 134.2 kB / 0.8453 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.03991, allocations: 0.679 MB / 0.8459 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005908/0.04582, allocations: 7.809 MB / 0.8536 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.04683, allocations: 0.5694 MB / 0.8541 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.04717, allocations: 303.2 kB / 0.8544 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.04722, allocations: 17 kB / 0.8544 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.04725, allocations: 50.38 kB / 0.8545 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 2.014e-06/0.04725, allocations: 4 kB / 0.8545 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.007313/0.05457, allocations: 4.163 MB / 0.8586 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.0546, allocations: 68.72 kB / 0.8586 GB, free: 1.055 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.05518, allocations: 0.9245 MB / 0.8595 GB, free: 120 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/0.05526, allocations: 53.7 kB / 0.8596 GB, free: 60 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006215/0.05588, allocations: 0.7929 MB / 0.8603 GB, free: 15.26 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.05615, allocations: 483.8 kB / 0.8608 GB, free: 14.78 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.05645, allocations: 269 kB / 0.8611 GB, free: 14.51 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.05659, allocations: 0.5354 MB / 0.8616 GB, free: 13.97 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.05697, allocations: 323.8 kB / 0.8619 GB, free: 13.65 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.05749, allocations: 0.6672 MB / 0.8625 GB, free: 12.86 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009776/0.05846, allocations: 1.07 MB / 0.8636 GB, free: 11.65 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.05847, allocations: 0 / 0.8636 GB, free: 11.65 MB / 0.823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003158/0.06163, allocations: 2.111 MB / 0.8657 GB, free: 9.477 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.06165, allocations: 8 kB / 0.8657 GB, free: 9.469 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.06166, allocations: 4 kB / 0.8657 GB, free: 9.465 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003584/0.06524, allocations: 1.35 MB / 0.867 GB, free: 8.059 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.06579, allocations: 203.7 kB / 0.8672 GB, free: 7.859 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.07872, allocations: 25.94 MB / 0.8925 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/0.07944, allocations: 59.97 kB / 0.8926 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/0.07952, allocations: 47.97 kB / 0.8926 GB, free: 12.33 MB / 0.8542 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004064/0.07992, allocations: 236.3 kB / 0.8928 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.08016, allocations: 195.1 kB / 0.893 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.08376, allocations: 2.036 MB / 0.895 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.08376, allocations: 12 kB / 0.895 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.08378, allocations: 16 kB / 0.895 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.08379, allocations: 7.969 kB / 0.895 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/0.08826, allocations: 3.267 MB / 0.8982 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.08827, allocations: 4 kB / 0.8982 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.08871, allocations: 147.8 kB / 0.8984 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003048/0.09176, allocations: 1.288 MB / 0.8996 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.09183, allocations: 39.97 kB / 0.8997 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/0.1042, allocations: 25.14 MB / 0.9242 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1042, allocations: 4 kB / 0.9242 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.1072, allocations: 2.049 MB / 0.9262 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.1076, allocations: 322.8 kB / 0.9265 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.1077, allocations: 27.94 kB / 0.9266 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.1082, allocations: 47.97 kB / 0.9266 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.1085, allocations: 136.6 kB / 0.9267 GB, free: 7.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.1085, allocations: 43.95 kB / 0.9268 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00035/0.1089, allocations: 0.5409 MB / 0.9273 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1089, allocations: 0 / 0.9273 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001327/0.1102, allocations: 0.5781 MB / 0.9279 GB, free: 6.332 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 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%), (2,4,100.0%), (3,9,100.0%), (2,4,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.0002077/0.1104, allocations: 143.1 kB / 0.928 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003269/0.1137, allocations: 3.708 MB / 0.9316 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1137, allocations: 3.938 kB / 0.9316 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.1158, allocations: 3.168 MB / 0.9347 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.1169, allocations: 0.5202 MB / 0.9352 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.1205, allocations: 2.942 MB / 0.9381 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1209, allocations: 459.1 kB / 0.9385 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006302/0.1215, allocations: 292.5 kB / 0.9388 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007395/0.1223, allocations: 489.8 kB / 0.9393 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of SimCode: time 7.61e-07/0.1223, allocations: 3.938 kB / 0.9393 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of Templates: time 0.04364/0.1659, allocations: 44.17 MB / 0.9824 GB, free: 14.6 MB / 0.948 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.890035634394735]