Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00132/0.00132, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.002287/0.002287, allocations: 181 kB / 24.08 MB, free: 424 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.9254/0.9254, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.737/1.737, allocations: 359 MB / 0.6055 GB, free: 10.89 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.7876 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.393e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007901/0.007925, allocations: 9.623 MB / 0.797 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007082/0.01501, allocations: 5.923 MB / 0.8027 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.0162, allocations: 87.25 kB / 0.8028 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.01711, allocations: 369.1 kB / 0.8032 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.02023, allocations: 1.432 MB / 0.8046 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.02143, allocations: 0.6536 MB / 0.8052 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002825/0.02425, allocations: 2.615 MB / 0.8078 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.02559, allocations: 1.184 MB / 0.8089 GB, free: 6.316 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.02731, allocations: 1.583 MB / 0.8105 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009906/0.0283, allocations: 1.013 MB / 0.8115 GB, free: 3.715 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.02847, allocations: 160 kB / 0.8116 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.02896, allocations: 327.5 kB / 0.8119 GB, free: 3.238 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.02935, allocations: 0.6543 MB / 0.8126 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.02985, allocations: 0.6391 MB / 0.8132 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.03127, allocations: 1.542 MB / 0.8147 GB, free: 404 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.03128, allocations: 3.938 kB / 0.8147 GB, free: 400 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.403e-06/0.03128, allocations: 4 kB / 0.8147 GB, free: 396 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.39e-05/0.0313, allocations: 0 / 0.8147 GB, free: 396 kB / 0.7605 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.00195/0.03325, allocations: 2.131 MB / 0.8168 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.03329, allocations: 12.03 kB / 0.8168 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.03645, allocations: 0.8968 MB / 0.8177 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.03768, allocations: 1.145 MB / 0.8188 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.03773, allocations: 90.73 kB / 0.8189 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.03789, allocations: 124.3 kB / 0.819 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.03956, allocations: 1.702 MB / 0.8206 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.03959, allocations: 11.92 kB / 0.8207 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.733e-05/0.03969, allocations: 55.92 kB / 0.8207 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002836/0.03997, allocations: 134.2 kB / 0.8208 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009667/0.04094, allocations: 0.6712 MB / 0.8215 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00618/0.04712, allocations: 7.805 MB / 0.8291 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.04813, allocations: 0.5716 MB / 0.8297 GB, free: 492 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.04847, allocations: 300.4 kB / 0.83 GB, free: 192 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.04852, allocations: 16.98 kB / 0.83 GB, free: 176 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.04855, allocations: 50.33 kB / 0.83 GB, free: 112 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=89): time 3.276e-06/0.04855, allocations: 4 kB / 0.83 GB, free: 108 kB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.007594/0.05614, allocations: 4.159 MB / 0.8341 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.05618, allocations: 64.72 kB / 0.8342 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/0.05682, allocations: 0.9323 MB / 0.8351 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/0.05689, allocations: 49.7 kB / 0.8351 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005018/0.0574, allocations: 0.7929 MB / 0.8359 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.05767, allocations: 487.8 kB / 0.8364 GB, free: 9.539 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/0.05796, allocations: 261 kB / 0.8366 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.0581, allocations: 0.5432 MB / 0.8371 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.05846, allocations: 319.8 kB / 0.8374 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.05897, allocations: 0.675 MB / 0.8381 GB, free: 7.609 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/0.0599, allocations: 1.058 MB / 0.8391 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.05991, allocations: 7.938 kB / 0.8391 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003168/0.06308, allocations: 2.114 MB / 0.8412 GB, free: 4.234 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.0631, allocations: 8 kB / 0.8412 GB, free: 4.227 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.06311, allocations: 8 kB / 0.8412 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00338/0.06649, allocations: 1.346 MB / 0.8425 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.06706, allocations: 207.6 kB / 0.8427 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.08027, allocations: 25.94 MB / 0.8681 GB, free: 7.191 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.08142, allocations: 55.98 kB / 0.8681 GB, free: 7.137 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.08152, allocations: 55.95 kB / 0.8682 GB, free: 7.082 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 (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.0004942/0.08201, allocations: 228.4 kB / 0.8684 GB, free: 6.848 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.08227, allocations: 195.1 kB / 0.8686 GB, free: 6.656 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/0.08545, allocations: 2.036 MB / 0.8706 GB, free: 4.551 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.08546, allocations: 16 kB / 0.8706 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.08547, allocations: 12 kB / 0.8706 GB, free: 4.523 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.08548, allocations: 3.984 kB / 0.8706 GB, free: 4.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.09015, allocations: 3.271 MB / 0.8738 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.09015, allocations: 8 kB / 0.8738 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.09061, allocations: 147.7 kB / 0.8739 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003032/0.09364, allocations: 1.28 MB / 0.8752 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.09372, allocations: 35.97 kB / 0.8752 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/0.106, allocations: 25.15 MB / 0.8998 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.106, allocations: 0 / 0.8998 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/0.1093, allocations: 2.041 MB / 0.9018 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005886/0.1099, allocations: 326.8 kB / 0.9021 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.11, allocations: 31.94 kB / 0.9021 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.1105, allocations: 51.98 kB / 0.9022 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/0.1109, allocations: 132.7 kB / 0.9023 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.111, allocations: 43.97 kB / 0.9023 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004247/0.1114, allocations: 0.5409 MB / 0.9029 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.1114, allocations: 0 / 0.9029 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001607/0.113, allocations: 0.582 MB / 0.9034 GB, free: 1.078 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 (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.0002166/0.1132, allocations: 143 kB / 0.9036 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00334/0.1166, allocations: 3.704 MB / 0.9072 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.1166, allocations: 4 kB / 0.9072 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/0.119, allocations: 3.168 MB / 0.9103 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.1204, allocations: 0.5134 MB / 0.9108 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.1245, allocations: 2.952 MB / 0.9137 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.1249, allocations: 459.1 kB / 0.9141 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008029/0.1257, allocations: 296.5 kB / 0.9144 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007525/0.1265, allocations: 493.8 kB / 0.9149 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of SimCode: time 1.943e-06/0.1265, allocations: 0 / 0.9149 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of Templates: time 0.04685/0.1733, allocations: 44.16 MB / 0.958 GB, free: 9.34 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.977354445960373]