Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.00138/0.00138, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001805/0.001805, allocations: 169 kB / 24.05 MB, free: 460 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.9566/0.9566, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.038/2.038, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.45e-05, allocations: 2.312 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.009951/0.009966, allocations: 13.68 MB / 0.8928 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005458/0.01542, allocations: 4.121 MB / 0.8968 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000698/0.01612, allocations: 127.1 kB / 0.8969 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008764/0.017, allocations: 0.574 MB / 0.8975 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.01867, allocations: 1.729 MB / 0.8992 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.02018, allocations: 1.217 MB / 0.9004 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003981/0.02416, allocations: 6.926 MB / 0.9071 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003208/0.02737, allocations: 3.626 MB / 0.9107 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.03044, allocations: 4.007 MB / 0.9146 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/0.03304, allocations: 3.57 MB / 0.9181 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0004033/0.03344, allocations: 0.5234 MB / 0.9186 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.03414, allocations: 0.6754 MB / 0.9192 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.03576, allocations: 2.689 MB / 0.9219 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.03694, allocations: 1.758 MB / 0.9236 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.03966, allocations: 4.593 MB / 0.9281 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.03966, allocations: 8 kB / 0.9281 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of FrontEnd: time 7.81e-07/0.03966, allocations: 3.938 kB / 0.9281 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.033e-05/0.03969, allocations: 0 / 0.9281 GB, free: 3.973 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004009/0.0437, allocations: 4.636 MB / 0.9326 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.04373, allocations: 12.03 kB / 0.9326 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.04726, allocations: 1.528 MB / 0.9341 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.04951, allocations: 2.249 MB / 0.9363 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.04963, allocations: 275.7 kB / 0.9366 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/0.05, allocations: 364.3 kB / 0.9369 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.05333, allocations: 3.811 MB / 0.9406 GB, free: 6.594 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.898e-05/0.05339, allocations: 20.02 kB / 0.9407 GB, free: 6.574 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.05364, allocations: 156.3 kB / 0.9408 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003438/0.05399, allocations: 491.3 kB / 0.9413 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.05589, allocations: 1.254 MB / 0.9425 GB, free: 4.684 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.06846, allocations: 19.89 MB / 0.9619 GB, free: 252 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.06918, allocations: 0.6535 MB / 0.9626 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007549/0.06993, allocations: 0.717 MB / 0.9633 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.435e-05/0.07003, allocations: 29.31 kB / 0.9633 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.07005, allocations: 54.64 kB / 0.9633 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=146): time 2.805e-06/0.07005, allocations: 0 / 0.9633 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=251): time 0.02721/0.09726, allocations: 13.89 MB / 0.9769 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.09729, allocations: 77.41 kB / 0.977 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.09839, allocations: 1.401 MB / 0.9783 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.09854, allocations: 69.7 kB / 0.9784 GB, free: 15.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000734/0.09928, allocations: 1.9 MB / 0.9803 GB, free: 13.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/0.09979, allocations: 0.914 MB / 0.9812 GB, free: 12.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005885/0.1004, allocations: 459.7 kB / 0.9816 GB, free: 11.96 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.1005, allocations: 480.7 kB / 0.9821 GB, free: 11.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.1012, allocations: 0.5477 MB / 0.9826 GB, free: 10.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.1023, allocations: 1.408 MB / 0.984 GB, free: 9.195 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/0.1045, allocations: 2.182 MB / 0.9861 GB, free: 6.684 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.1045, allocations: 7.938 kB / 0.9861 GB, free: 6.676 MB / 0.948 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01261/0.1171, allocations: 6.912 MB / 0.9929 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.1172, allocations: 12 kB / 0.9929 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.1172, allocations: 16 kB / 0.9929 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/0.131, allocations: 5.661 MB / 0.9984 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.1316, allocations: 279.4 kB / 0.9987 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02765/0.1593, allocations: 23.97 MB / 1.022 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.1605, allocations: 64 kB / 1.022 GB, free: 0.9922 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.1607, allocations: 87.98 kB / 1.022 GB, free: 0.9062 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009301/0.1616, allocations: 300 kB / 1.023 GB, free: 0.6016 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.162, allocations: 326.5 kB / 1.023 GB, free: 288 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/0.1745, allocations: 6.985 MB / 1.03 GB, free: 9.238 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.1745, allocations: 27.98 kB / 1.03 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.682e-05/0.1746, allocations: 44 kB / 1.03 GB, free: 9.168 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.1746, allocations: 11.95 kB / 1.03 GB, free: 9.156 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.1905, allocations: 9.668 MB / 1.039 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.1905, allocations: 8 kB / 1.039 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.1908, allocations: 135.8 kB / 1.039 GB, free: 15.15 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01685/0.2077, allocations: 5.478 MB / 1.045 GB, free: 9.641 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/0.2079, allocations: 52 kB / 1.045 GB, free: 9.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4287/0.6365, allocations: 23.85 MB / 1.068 GB, free: 170.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6366, allocations: 13.56 kB / 1.068 GB, free: 170.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/0.6483, allocations: 6.933 MB / 1.075 GB, free: 169.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008832/0.6492, allocations: 0.5871 MB / 1.075 GB, free: 169 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.6495, allocations: 49.78 kB / 1.075 GB, free: 169 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/0.6503, allocations: 44.22 kB / 1.075 GB, free: 169 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008003/0.6511, allocations: 260.3 kB / 1.076 GB, free: 169 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.6512, allocations: 47.38 kB / 1.076 GB, free: 169 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004815/0.6517, allocations: 0.7663 MB / 1.076 GB, free: 168.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6517, allocations: 0 / 1.076 GB, free: 168.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003093/0.6548, allocations: 1.616 MB / 1.078 GB, free: 168.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002794/0.6551, allocations: 161.6 kB / 1.078 GB, free: 168.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008615/0.6637, allocations: 6.058 MB / 1.084 GB, free: 167.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.6637, allocations: 1.188 kB / 1.084 GB, free: 167.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007313/0.671, allocations: 5.037 MB / 1.089 GB, free: 165.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.6726, allocations: 0.5437 MB / 1.09 GB, free: 165.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00934/0.6819, allocations: 7.43 MB / 1.097 GB, free: 162.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.6834, allocations: 1.296 MB / 1.098 GB, free: 162.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004848/0.6839, allocations: 200.5 kB / 1.098 GB, free: 162.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/0.6846, allocations: 456.9 kB / 1.099 GB, free: 162.4 MB / 1.01 GB Notification: Performance of SimCode: time 9.32e-07/0.6846, allocations: 0 / 1.099 GB, free: 162.4 MB / 1.01 GB Notification: Performance of Templates: time 0.09424/0.7788, allocations: 104 MB / 1.2 GB, free: 94.52 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.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: 7.1655406299978495]