Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009356/0.0009356, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009863/0.0009863, allocations: 181 kB / 24.09 MB, free: 420 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.8824/0.8824, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.697/1.697, allocations: 359 MB / 0.6055 GB, free: 10.88 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.805e-05, allocations: 3.219 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01288/0.01291, allocations: 10.35 MB / 0.7977 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007799/0.02071, allocations: 6.826 MB / 0.8043 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000853/0.02156, allocations: 83.25 kB / 0.8044 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008489/0.02241, allocations: 401.8 kB / 0.8048 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.02516, allocations: 1.703 MB / 0.8065 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009459/0.0261, allocations: 0.655 MB / 0.8071 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.0284, allocations: 2.847 MB / 0.8099 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.02947, allocations: 1.2 MB / 0.811 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.03121, allocations: 2.09 MB / 0.8131 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009914/0.0322, allocations: 0.9933 MB / 0.8141 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.0324, allocations: 160 kB / 0.8142 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005694/0.03297, allocations: 323.5 kB / 0.8145 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.03335, allocations: 0.6387 MB / 0.8151 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.03387, allocations: 0.6468 MB / 0.8158 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.03505, allocations: 1.541 MB / 0.8173 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.03505, allocations: 0 / 0.8173 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.323e-06/0.03506, allocations: 0 / 0.8173 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.03507, allocations: 0 / 0.8173 GB, free: 13.7 MB / 0.7761 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.002049/0.03712, allocations: 2.174 MB / 0.8194 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.03715, allocations: 8.031 kB / 0.8194 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.0404, allocations: 0.9241 MB / 0.8203 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.04155, allocations: 1.166 MB / 0.8214 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.04161, allocations: 94.61 kB / 0.8215 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.04177, allocations: 116.4 kB / 0.8216 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.04354, allocations: 1.694 MB / 0.8233 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.04358, allocations: 11.88 kB / 0.8233 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.04368, allocations: 59.97 kB / 0.8234 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000277/0.04396, allocations: 142.2 kB / 0.8235 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/0.04477, allocations: 0.6946 MB / 0.8242 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005763/0.05054, allocations: 7.81 MB / 0.8318 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/0.05147, allocations: 0.5996 MB / 0.8324 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.05182, allocations: 312.7 kB / 0.8327 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/0.05186, allocations: 13 kB / 0.8327 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.05189, allocations: 46.33 kB / 0.8328 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 2.124e-06/0.05189, allocations: 0 / 0.8328 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of matching and sorting (n=153): time 0.009266/0.06116, allocations: 5.127 MB / 0.8378 GB, free: 8.113 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.06119, allocations: 68.72 kB / 0.8378 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.06183, allocations: 0.9921 MB / 0.8388 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-05/0.06192, allocations: 49.7 kB / 0.8388 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.06228, allocations: 0.8252 MB / 0.8396 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.06259, allocations: 0.546 MB / 0.8402 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.06292, allocations: 289 kB / 0.8405 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.06301, allocations: 476.8 kB / 0.8409 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.06344, allocations: 379.7 kB / 0.8413 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.06403, allocations: 0.7491 MB / 0.842 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.06528, allocations: 1.18 MB / 0.8432 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.06528, allocations: 0 / 0.8432 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.003898/0.06918, allocations: 2.537 MB / 0.8456 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.0692, allocations: 8 kB / 0.8456 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.06921, allocations: 11.94 kB / 0.8457 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004319/0.07353, allocations: 1.736 MB / 0.8473 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.07403, allocations: 187.7 kB / 0.8475 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.0863, allocations: 18.77 MB / 0.8659 GB, free: 10.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/0.08704, allocations: 63.92 kB / 0.8659 GB, free: 9.988 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.08712, allocations: 55.95 kB / 0.866 GB, free: 9.934 MB / 0.823 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000414/0.08754, allocations: 236.4 kB / 0.8662 GB, free: 9.691 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.0878, allocations: 218.9 kB / 0.8664 GB, free: 9.477 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.09175, allocations: 2.487 MB / 0.8688 GB, free: 6.941 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.09175, allocations: 16 kB / 0.8688 GB, free: 6.926 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-05/0.09178, allocations: 20 kB / 0.8689 GB, free: 6.906 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.0918, allocations: 7.969 kB / 0.8689 GB, free: 6.898 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/0.0972, allocations: 3.645 MB / 0.8724 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.0972, allocations: 4.344 kB / 0.8724 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.09758, allocations: 119.8 kB / 0.8726 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003993/0.1016, allocations: 1.67 MB / 0.8742 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/0.1017, allocations: 39.97 kB / 0.8742 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.113, allocations: 18.68 MB / 0.8925 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.113, allocations: 7.938 kB / 0.8925 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/0.1166, allocations: 2.416 MB / 0.8948 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.1171, allocations: 362.6 kB / 0.8952 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.1172, allocations: 36 kB / 0.8952 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.1177, allocations: 47.98 kB / 0.8953 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/0.1181, allocations: 164.8 kB / 0.8954 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/0.1182, allocations: 43.97 kB / 0.8955 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004122/0.1186, allocations: 0.5743 MB / 0.896 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.1186, allocations: 3.938 kB / 0.896 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001476/0.1201, allocations: 0.6719 MB / 0.8967 GB, free: 9.273 MB / 0.8542 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002389/0.1203, allocations: 139.2 kB / 0.8968 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003236/0.1236, allocations: 3.224 MB / 0.9 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1236, allocations: 4 kB / 0.9 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.1257, allocations: 2.648 MB / 0.9025 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.1268, allocations: 0.5237 MB / 0.9031 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.1305, allocations: 3.133 MB / 0.9061 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.1309, allocations: 0.5043 MB / 0.9066 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006555/0.1316, allocations: 285.2 kB / 0.9069 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/0.1323, allocations: 477.8 kB / 0.9073 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/0.1323, allocations: 4 kB / 0.9073 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.04844/0.1808, allocations: 51.12 MB / 0.9573 GB, free: 11.52 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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.777907933108509]