Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009917/0.0009917, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009489/0.0009489, allocations: 161 kB / 23.82 MB, free: 0.75 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.9182/0.9182, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.777/1.777, allocations: 359 MB / 0.6052 GB, free: 11.01 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.407e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01079/0.01081, allocations: 13.37 MB / 0.8002 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005796/0.01661, allocations: 3.876 MB / 0.804 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.01784, allocations: 123.9 kB / 0.8041 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.01896, allocations: 0.5429 MB / 0.8046 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.02095, allocations: 1.499 MB / 0.8061 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.02265, allocations: 1.105 MB / 0.8072 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004871/0.02752, allocations: 5.947 MB / 0.813 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003368/0.03089, allocations: 3.171 MB / 0.8161 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.0345, allocations: 3.416 MB / 0.8194 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.03767, allocations: 2.877 MB / 0.8222 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005647/0.03823, allocations: 456 kB / 0.8226 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009147/0.03915, allocations: 0.6022 MB / 0.8232 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.04061, allocations: 2.222 MB / 0.8254 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.04215, allocations: 1.513 MB / 0.8269 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.04522, allocations: 3.9 MB / 0.8307 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.04522, allocations: 0 / 0.8307 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.943e-06/0.04523, allocations: 0 / 0.8307 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.657e-05/0.04529, allocations: 1.094 kB / 0.8307 GB, free: 15.71 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003959/0.04925, allocations: 4.011 MB / 0.8346 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.04929, allocations: 8.031 kB / 0.8346 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.05278, allocations: 1.66 MB / 0.8362 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.05533, allocations: 2.226 MB / 0.8384 GB, free: 7.699 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.05545, allocations: 246.3 kB / 0.8386 GB, free: 7.457 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.05579, allocations: 323.8 kB / 0.8389 GB, free: 7.141 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004255/0.06004, allocations: 3.594 MB / 0.8425 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/0.06009, allocations: 11.94 kB / 0.8425 GB, free: 3.141 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.06032, allocations: 139.9 kB / 0.8426 GB, free: 3.004 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003134/0.06063, allocations: 410.2 kB / 0.843 GB, free: 2.602 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.06323, allocations: 1.361 MB / 0.8443 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01573/0.07895, allocations: 19.97 MB / 0.8638 GB, free: 12.66 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.07984, allocations: 483.1 kB / 0.8643 GB, free: 12.18 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006825/0.08052, allocations: 0.5255 MB / 0.8648 GB, free: 11.65 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.0806, allocations: 21 kB / 0.8648 GB, free: 11.63 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.08063, allocations: 50.39 kB / 0.8649 GB, free: 11.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 3.096e-06/0.08064, allocations: 0 / 0.8649 GB, free: 11.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=179): time 0.01863/0.09926, allocations: 9.532 MB / 0.8742 GB, free: 2.016 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.09932, allocations: 77.41 kB / 0.8742 GB, free: 1.93 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.1009, allocations: 1.242 MB / 0.8755 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.101, allocations: 49.7 kB / 0.8755 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008367/0.1019, allocations: 1.652 MB / 0.8771 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.1023, allocations: 0.643 MB / 0.8777 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/0.1028, allocations: 369.1 kB / 0.8781 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1029, allocations: 484.7 kB / 0.8786 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008299/0.1038, allocations: 0.4998 MB / 0.8791 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.105, allocations: 1.305 MB / 0.8803 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.1077, allocations: 1.975 MB / 0.8823 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.1077, allocations: 4 kB / 0.8823 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008792/0.1165, allocations: 4.802 MB / 0.8869 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.1165, allocations: 12 kB / 0.887 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.1165, allocations: 23.98 kB / 0.887 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008321/0.1249, allocations: 3.238 MB / 0.8901 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/0.1256, allocations: 303.4 kB / 0.8904 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/0.146, allocations: 18.41 MB / 0.9084 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.1474, allocations: 155.8 kB / 0.9086 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.1476, allocations: 80 kB / 0.9086 GB, free: 13.18 MB / 0.8698 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.0008821/0.1485, allocations: 284 kB / 0.9089 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006429/0.1491, allocations: 250.8 kB / 0.9091 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007907/0.157, allocations: 4.624 MB / 0.9137 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.157, allocations: 19.94 kB / 0.9137 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.024e-05/0.1571, allocations: 28 kB / 0.9137 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.1571, allocations: 7.969 kB / 0.9137 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.17, allocations: 7.647 MB / 0.9212 GB, free: 76 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.17, allocations: 4 kB / 0.9212 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.1706, allocations: 167.8 kB / 0.9213 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/0.1812, allocations: 3.144 MB / 0.9244 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/0.1814, allocations: 40 kB / 0.9245 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02545/0.2069, allocations: 18.35 MB / 0.9424 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.2069, allocations: 11.94 kB / 0.9424 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.2177, allocations: 4.708 MB / 0.947 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.2189, allocations: 0.5065 MB / 0.9475 GB, free: 4.223 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/0.2191, allocations: 36 kB / 0.9475 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.2202, allocations: 139.8 kB / 0.9476 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008621/0.221, allocations: 180.7 kB / 0.9478 GB, free: 3.875 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.2212, allocations: 52 kB / 0.9479 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009124/0.2221, allocations: 0.7101 MB / 0.9486 GB, free: 3.117 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2221, allocations: 3.938 kB / 0.9486 GB, free: 3.113 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002996/0.2251, allocations: 1.121 MB / 0.9497 GB, free: 1.992 MB / 0.9011 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.000284/0.2254, allocations: 147 kB / 0.9498 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007494/0.2329, allocations: 4.229 MB / 0.9539 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.2329, allocations: 192 / 0.9539 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004323/0.2372, allocations: 3.386 MB / 0.9572 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.2387, allocations: 0.5069 MB / 0.9577 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.2466, allocations: 5.991 MB / 0.9636 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.2477, allocations: 1.003 MB / 0.9646 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009571/0.2487, allocations: 311.7 kB / 0.9649 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.2489, allocations: 92.5 kB / 0.9649 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of SimCode: time 1.984e-06/0.2489, allocations: 0 / 0.9649 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of Templates: time 0.068/0.3169, allocations: 65.43 MB / 1.029 GB, free: 1 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 6.003056040033698]