Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001653/0.001653, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.002/0.002, allocations: 173.3 kB / 23.02 MB, free: 1.551 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 1.024/1.024, allocations: 177.2 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.093/2.093, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.862e-05/4.125e-05, allocations: 3.094 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0105/0.01055, allocations: 6.363 MB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006692/0.01724, allocations: 2.083 MB / 0.8864 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.01838, allocations: 48.34 kB / 0.8865 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.01952, allocations: 263.9 kB / 0.8867 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.02071, allocations: 0.654 MB / 0.8874 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.02169, allocations: 0.5536 MB / 0.8879 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002435/0.02412, allocations: 2.741 MB / 0.8906 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/0.026, allocations: 1.364 MB / 0.8919 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.02776, allocations: 1.575 MB / 0.8935 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.02945, allocations: 1.426 MB / 0.8949 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.02984, allocations: 216 kB / 0.8951 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.03043, allocations: 315.7 kB / 0.8954 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006883/0.03112, allocations: 1.068 MB / 0.8964 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007276/0.03185, allocations: 0.7134 MB / 0.8971 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.03352, allocations: 1.917 MB / 0.899 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.03353, allocations: 0 / 0.899 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.954e-06/0.03353, allocations: 0 / 0.899 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.717e-05/0.03358, allocations: 4 kB / 0.899 GB, free: 0.957 MB / 0.8542 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.002594/0.03617, allocations: 2.053 MB / 0.901 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.03622, allocations: 8.031 kB / 0.901 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.03939, allocations: 1.147 MB / 0.9021 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.04058, allocations: 1.049 MB / 0.9031 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.04064, allocations: 107.3 kB / 0.9032 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.04082, allocations: 144.3 kB / 0.9034 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.04305, allocations: 1.672 MB / 0.905 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.04308, allocations: 4.188 kB / 0.905 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.0432, allocations: 60.36 kB / 0.9051 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.04335, allocations: 190.9 kB / 0.9053 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.04482, allocations: 0.7088 MB / 0.9059 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007528/0.05235, allocations: 8.682 MB / 0.9144 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.05314, allocations: 469.1 kB / 0.9149 GB, free: 184 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.05359, allocations: 339.9 kB / 0.9152 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-05/0.05364, allocations: 20.59 kB / 0.9152 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.05398, allocations: 42.05 kB / 0.9153 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.05398, allocations: 0 / 0.9153 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.01108/0.06507, allocations: 5.739 MB / 0.9209 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.06511, allocations: 64.72 kB / 0.9209 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/0.06572, allocations: 0.7608 MB / 0.9217 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.06579, allocations: 49.7 kB / 0.9217 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/0.06645, allocations: 0.8074 MB / 0.9225 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.06675, allocations: 0.5191 MB / 0.923 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/0.0671, allocations: 293.2 kB / 0.9233 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.06724, allocations: 0.5316 MB / 0.9238 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.0678, allocations: 327.8 kB / 0.9241 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/0.06857, allocations: 0.7908 MB / 0.9249 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.07, allocations: 1.186 MB / 0.9261 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.07, allocations: 4 kB / 0.9261 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005022/0.07502, allocations: 2.842 MB / 0.9288 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.07505, allocations: 8 kB / 0.9288 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.07506, allocations: 12 kB / 0.9289 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004947/0.08001, allocations: 1.862 MB / 0.9307 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.08042, allocations: 191.7 kB / 0.9309 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/0.09482, allocations: 14.83 MB / 0.9453 GB, free: 44 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.09546, allocations: 96.03 kB / 0.9454 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.09555, allocations: 60 kB / 0.9455 GB, free: 15.89 MB / 0.9167 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.0004387/0.09598, allocations: 240.2 kB / 0.9457 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.09617, allocations: 163.3 kB / 0.9459 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/0.1009, allocations: 2.725 MB / 0.9485 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1009, allocations: 19.98 kB / 0.9486 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.443e-05/0.1009, allocations: 20 kB / 0.9486 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.1009, allocations: 11.86 kB / 0.9486 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006893/0.1078, allocations: 4.682 MB / 0.9532 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.1078, allocations: 4 kB / 0.9532 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.1081, allocations: 123.7 kB / 0.9533 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00434/0.1124, allocations: 1.767 MB / 0.955 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.901e-05/0.1125, allocations: 28 kB / 0.955 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.1255, allocations: 13.64 MB / 0.9683 GB, free: 7.797 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.1255, allocations: 7.938 kB / 0.9684 GB, free: 7.789 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/0.1302, allocations: 2.804 MB / 0.9711 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005212/0.1307, allocations: 371.1 kB / 0.9714 GB, free: 4.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.1308, allocations: 27.98 kB / 0.9715 GB, free: 4.492 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.1312, allocations: 75.91 kB / 0.9715 GB, free: 4.418 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/0.1316, allocations: 132.9 kB / 0.9717 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.1316, allocations: 36 kB / 0.9717 GB, free: 4.254 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003873/0.132, allocations: 470.9 kB / 0.9722 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.132, allocations: 0 / 0.9722 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001667/0.1337, allocations: 0.7227 MB / 0.9729 GB, free: 3.074 MB / 0.9323 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.0001992/0.1339, allocations: 139 kB / 0.973 GB, free: 2.926 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00305/0.1369, allocations: 2.495 MB / 0.9754 GB, free: 368 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.137, allocations: 0 / 0.9754 GB, free: 368 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.1392, allocations: 2 MB / 0.9774 GB, free: 14.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.1399, allocations: 223.5 kB / 0.9776 GB, free: 14.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.1439, allocations: 3.264 MB / 0.9808 GB, free: 10.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.1444, allocations: 0.5423 MB / 0.9813 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003982/0.1448, allocations: 261.2 kB / 0.9816 GB, free: 9.895 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.145, allocations: 64.42 kB / 0.9816 GB, free: 9.832 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/0.145, allocations: 0 / 0.9816 GB, free: 9.832 MB / 0.948 GB Notification: Performance of Templates: time 0.0422/0.1872, allocations: 43.44 MB / 1.024 GB, free: 14.64 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.104281019885093]