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.001152/0.001152, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001104/0.001104, allocations: 166 kB / 24.87 MB, free: 9.258 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.9605/0.9605, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.871/1.871, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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.422e-06/1.422e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.008e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008028/0.008048, allocations: 6.235 MB / 0.8189 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004637/0.01269, allocations: 2.068 MB / 0.8209 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006255/0.01331, allocations: 44.62 kB / 0.821 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008391/0.01415, allocations: 262.2 kB / 0.8212 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.01553, allocations: 0.6514 MB / 0.8218 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.01668, allocations: 0.5615 MB / 0.8224 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.01928, allocations: 2.738 MB / 0.8251 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.02066, allocations: 1.364 MB / 0.8264 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.02229, allocations: 1.576 MB / 0.8279 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.02383, allocations: 1.435 MB / 0.8293 GB, free: 452 kB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.02411, allocations: 216 kB / 0.8295 GB, free: 236 kB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.02459, allocations: 320.6 kB / 0.8298 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006483/0.02524, allocations: 1.06 MB / 0.8309 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006005/0.02584, allocations: 0.7173 MB / 0.8316 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.0272, allocations: 1.914 MB / 0.8335 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.02721, allocations: 3.938 kB / 0.8335 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.21e-07/0.02721, allocations: 4 kB / 0.8335 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.02723, allocations: 0 / 0.8335 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.002032/0.02926, allocations: 2.05 MB / 0.8355 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.02929, allocations: 8.531 kB / 0.8355 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.03202, allocations: 0.914 MB / 0.8364 GB, free: 9.199 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009293/0.03295, allocations: 0.9445 MB / 0.8373 GB, free: 8.234 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.03301, allocations: 107.3 kB / 0.8374 GB, free: 8.129 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.03318, allocations: 156.3 kB / 0.8375 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.03471, allocations: 1.519 MB / 0.839 GB, free: 6.312 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.03474, allocations: 8.125 kB / 0.839 GB, free: 6.305 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.03485, allocations: 64.34 kB / 0.8391 GB, free: 6.242 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.03498, allocations: 174.9 kB / 0.8393 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000818/0.0358, allocations: 0.5696 MB / 0.8398 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006068/0.04187, allocations: 8.034 MB / 0.8477 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.04244, allocations: 411.9 kB / 0.848 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.04276, allocations: 294.6 kB / 0.8483 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.04281, allocations: 12.66 kB / 0.8483 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.04284, allocations: 42.05 kB / 0.8484 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/0.04284, allocations: 4 kB / 0.8484 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=139): time 0.009618/0.05246, allocations: 4.991 MB / 0.8533 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.05248, allocations: 68.72 kB / 0.8533 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.05297, allocations: 0.7409 MB / 0.854 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.05304, allocations: 49.64 kB / 0.8541 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.05338, allocations: 0.8152 MB / 0.8549 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.05367, allocations: 0.5307 MB / 0.8554 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.05402, allocations: 289.1 kB / 0.8557 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.05416, allocations: 0.5315 MB / 0.8562 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.05453, allocations: 247.8 kB / 0.8564 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.0551, allocations: 0.7125 MB / 0.8571 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.05612, allocations: 1.039 MB / 0.8582 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.05613, allocations: 7.938 kB / 0.8582 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004407/0.06054, allocations: 2.519 MB / 0.8606 GB, free: 15.48 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.06055, allocations: 8 kB / 0.8606 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.06057, allocations: 8 kB / 0.8606 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004141/0.06471, allocations: 1.721 MB / 0.8623 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.06506, allocations: 171.7 kB / 0.8625 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.07775, allocations: 13.89 MB / 0.876 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.07828, allocations: 40 kB / 0.8761 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/0.07836, allocations: 44 kB / 0.8761 GB, free: 15.14 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.0003676/0.07873, allocations: 240.2 kB / 0.8763 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.07893, allocations: 155.3 kB / 0.8765 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/0.08318, allocations: 2.448 MB / 0.8789 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.08319, allocations: 12 kB / 0.8789 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/0.08321, allocations: 20 kB / 0.8789 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.08322, allocations: 7.969 kB / 0.8789 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.08921, allocations: 3.991 MB / 0.8828 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.08921, allocations: 7.938 kB / 0.8828 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.08942, allocations: 99.83 kB / 0.8829 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003951/0.09337, allocations: 1.611 MB / 0.8845 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.09344, allocations: 32 kB / 0.8845 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.1049, allocations: 12.81 MB / 0.897 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1049, allocations: 7.938 kB / 0.897 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.1091, allocations: 2.519 MB / 0.8995 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.1094, allocations: 311 kB / 0.8998 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.1096, allocations: 27.95 kB / 0.8998 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.1099, allocations: 24 kB / 0.8999 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.1102, allocations: 133 kB / 0.9 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/0.1103, allocations: 27.98 kB / 0.9 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002777/0.1105, allocations: 434.8 kB / 0.9004 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1105, allocations: 0 / 0.9004 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001441/0.112, allocations: 0.7227 MB / 0.9011 GB, free: 4.801 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.0001838/0.1122, allocations: 143 kB / 0.9013 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002512/0.1147, allocations: 2.325 MB / 0.9035 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1147, allocations: 0 / 0.9035 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.1167, allocations: 1.89 MB / 0.9054 GB, free: 300 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.1174, allocations: 219.4 kB / 0.9056 GB, free: 80 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.1208, allocations: 3.234 MB / 0.9087 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.1213, allocations: 0.5499 MB / 0.9093 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.1215, allocations: 101.5 kB / 0.9094 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.1218, allocations: 234.1 kB / 0.9096 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of SimCode: time 7.11e-07/0.1218, allocations: 0 / 0.9096 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.04236/0.1641, allocations: 44.72 MB / 0.9533 GB, free: 15.4 MB / 0.9167 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.685460031963885]