Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001441/0.001441, allocations: 81.86 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.002036/0.002036, allocations: 185 kB / 24.09 MB, free: 416 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.9709/0.9709, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.811/1.811, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.241e-05, allocations: 3.812 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.00562/0.005632, allocations: 6.228 MB / 0.8181 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003016/0.008649, allocations: 2.082 MB / 0.8201 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.009012, allocations: 47.62 kB / 0.8202 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.009587, allocations: 258.3 kB / 0.8204 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007622/0.01035, allocations: 0.654 MB / 0.8211 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008964/0.01125, allocations: 0.5577 MB / 0.8216 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.01287, allocations: 2.741 MB / 0.8243 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.01397, allocations: 1.372 MB / 0.8256 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.01511, allocations: 1.572 MB / 0.8272 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.01685, allocations: 1.428 MB / 0.8286 GB, free: 444 kB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.01712, allocations: 216 kB / 0.8288 GB, free: 228 kB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.01759, allocations: 315.7 kB / 0.8291 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000783/0.01838, allocations: 1.06 MB / 0.8301 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.01905, allocations: 0.7251 MB / 0.8308 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.0207, allocations: 1.913 MB / 0.8327 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.0207, allocations: 2 kB / 0.8327 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.052e-06/0.0207, allocations: 0 / 0.8327 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.834e-05/0.02072, allocations: 0 / 0.8327 GB, free: 12.21 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002473/0.02319, allocations: 2.058 MB / 0.8347 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.02323, allocations: 8.031 kB / 0.8347 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.02715, allocations: 0.915 MB / 0.8356 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.02835, allocations: 0.9394 MB / 0.8365 GB, free: 8.227 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.02842, allocations: 107.3 kB / 0.8366 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.02865, allocations: 156.2 kB / 0.8368 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.03057, allocations: 1.518 MB / 0.8382 GB, free: 6.305 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.0306, allocations: 8.172 kB / 0.8383 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.03074, allocations: 56.36 kB / 0.8383 GB, free: 6.242 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/0.03092, allocations: 182.9 kB / 0.8385 GB, free: 6.062 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.03204, allocations: 0.5726 MB / 0.839 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008052/0.04009, allocations: 8.033 MB / 0.8469 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.04079, allocations: 404.9 kB / 0.8473 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.04121, allocations: 290.6 kB / 0.8475 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.04126, allocations: 16.66 kB / 0.8476 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.04129, allocations: 49.97 kB / 0.8476 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/0.04129, allocations: 0 / 0.8476 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=139): time 0.01234/0.05363, allocations: 4.991 MB / 0.8525 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.05367, allocations: 72.66 kB / 0.8526 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.05431, allocations: 0.7448 MB / 0.8533 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.54e-05/0.0544, allocations: 45.7 kB / 0.8533 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.05484, allocations: 0.8152 MB / 0.8541 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.05522, allocations: 0.5229 MB / 0.8546 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/0.05569, allocations: 289.1 kB / 0.8549 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.05585, allocations: 0.5315 MB / 0.8554 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.05633, allocations: 251.8 kB / 0.8557 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009873/0.05732, allocations: 0.7125 MB / 0.8564 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.05865, allocations: 1.045 MB / 0.8574 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.05866, allocations: 11.94 kB / 0.8574 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005512/0.06417, allocations: 2.513 MB / 0.8599 GB, free: 15.46 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.0642, allocations: 9.812 kB / 0.8599 GB, free: 15.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.06421, allocations: 12 kB / 0.8599 GB, free: 15.44 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005228/0.06944, allocations: 1.715 MB / 0.8615 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.06991, allocations: 167.7 kB / 0.8617 GB, free: 13.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.08476, allocations: 13.91 MB / 0.8753 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.08527, allocations: 40 kB / 0.8753 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/0.08534, allocations: 40 kB / 0.8754 GB, free: 15.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004199/0.08576, allocations: 240.3 kB / 0.8756 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.08595, allocations: 155.3 kB / 0.8757 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/0.09012, allocations: 2.444 MB / 0.8781 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.09013, allocations: 12 kB / 0.8781 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.09014, allocations: 20.25 kB / 0.8782 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.09015, allocations: 7.969 kB / 0.8782 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.09581, allocations: 4.003 MB / 0.8821 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.09582, allocations: 4 kB / 0.8821 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.09603, allocations: 103.8 kB / 0.8822 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003726/0.09975, allocations: 1.61 MB / 0.8838 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/0.09982, allocations: 24 kB / 0.8838 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.1111, allocations: 12.84 MB / 0.8963 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1111, allocations: 4 kB / 0.8963 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.1153, allocations: 2.515 MB / 0.8988 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.1157, allocations: 307 kB / 0.8991 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.845e-05/0.1157, allocations: 31.94 kB / 0.8991 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.1161, allocations: 28 kB / 0.8991 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.1163, allocations: 133 kB / 0.8993 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.1164, allocations: 24 kB / 0.8993 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002697/0.1167, allocations: 438.8 kB / 0.8997 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1167, allocations: 0 / 0.8997 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001457/0.1181, allocations: 0.7227 MB / 0.9004 GB, free: 4.746 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001678/0.1183, allocations: 139.1 kB / 0.9005 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.1207, allocations: 2.326 MB / 0.9028 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1207, allocations: 0 / 0.9028 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.1227, allocations: 1.894 MB / 0.9047 GB, free: 244 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006662/0.1233, allocations: 219.8 kB / 0.9049 GB, free: 24 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.127, allocations: 3.235 MB / 0.908 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.1274, allocations: 0.5422 MB / 0.9086 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.1276, allocations: 101.5 kB / 0.9086 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.1279, allocations: 230.1 kB / 0.9089 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/0.1279, allocations: 0 / 0.9089 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.04024/0.1681, allocations: 43.89 MB / 0.9517 GB, free: 196 kB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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.476890742313117]