Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0009991/0.0009991, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001001/0.001001, allocations: 169 kB / 24.28 MB, free: 276 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.9377/0.9377, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.764/1.764, allocations: 359 MB / 0.6055 GB, free: 10.98 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.333e-05, allocations: 7.156 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.0051/0.005123, allocations: 5.637 MB / 0.7926 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003123/0.008246, allocations: 2.708 MB / 0.7952 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.008497, allocations: 31.69 kB / 0.7953 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.009498, allocations: 0.7047 MB / 0.796 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006772/0.01018, allocations: 447.5 kB / 0.7964 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.01081, allocations: 405.6 kB / 0.7968 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.01163, allocations: 0.9863 MB / 0.7977 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.0121, allocations: 382.4 kB / 0.7981 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005385/0.01264, allocations: 0.5237 MB / 0.7986 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.01304, allocations: 370.9 kB / 0.799 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.0131, allocations: 48 kB / 0.799 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.01349, allocations: 331.1 kB / 0.7993 GB, free: 248 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.01368, allocations: 268.2 kB / 0.7996 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.01387, allocations: 239.4 kB / 0.7998 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.01457, allocations: 0.7279 MB / 0.8005 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.01457, allocations: 0.5312 kB / 0.8005 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.82e-07/0.01457, allocations: 0.625 kB / 0.8005 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.01458, allocations: 0 / 0.8005 GB, free: 15.02 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001034/0.01562, allocations: 1.027 MB / 0.8015 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.01565, allocations: 9.406 kB / 0.8015 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.0166, allocations: 287.9 kB / 0.8018 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.01714, allocations: 498 kB / 0.8023 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.01717, allocations: 38.25 kB / 0.8023 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.01728, allocations: 56.55 kB / 0.8024 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.01795, allocations: 0.7885 MB / 0.8032 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.01797, allocations: 8.125 kB / 0.8032 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.01801, allocations: 23.94 kB / 0.8032 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.01812, allocations: 68.94 kB / 0.8032 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.01852, allocations: 281.4 kB / 0.8035 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.02119, allocations: 4.418 MB / 0.8078 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.02144, allocations: 150.2 kB / 0.808 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.02156, allocations: 100.1 kB / 0.8081 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.02158, allocations: 4.281 kB / 0.8081 GB, free: 6.918 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.02161, allocations: 41.67 kB / 0.8081 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.02161, allocations: 0 / 0.8081 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.002604/0.02422, allocations: 1.548 MB / 0.8096 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.02425, allocations: 59.41 kB / 0.8097 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.02455, allocations: 462.5 kB / 0.8101 GB, free: 4.738 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.02458, allocations: 33.7 kB / 0.8102 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.02475, allocations: 407 kB / 0.8105 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/0.02484, allocations: 150.8 kB / 0.8107 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.02495, allocations: 111.9 kB / 0.8108 GB, free: 4.023 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.02509, allocations: 0.5312 MB / 0.8113 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.02524, allocations: 105.2 kB / 0.8114 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.02549, allocations: 347.3 kB / 0.8117 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.02593, allocations: 490.1 kB / 0.8122 GB, free: 2.355 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02593, allocations: 4 kB / 0.8122 GB, free: 2.352 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008262/0.02676, allocations: 0.6367 MB / 0.8128 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.02678, allocations: 9.562 kB / 0.8128 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.02678, allocations: 4 kB / 0.8128 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.02737, allocations: 231.2 kB / 0.8131 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.02764, allocations: 111.8 kB / 0.8132 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.03055, allocations: 5.642 MB / 0.8187 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.03075, allocations: 31.91 kB / 0.8187 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.03078, allocations: 35.98 kB / 0.8188 GB, free: 11.26 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.03092, allocations: 184.5 kB / 0.8189 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.031, allocations: 67.67 kB / 0.819 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/0.03169, allocations: 0.5003 MB / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.0317, allocations: 4 kB / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.0317, allocations: 0 / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.0317, allocations: 7.938 kB / 0.8195 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.03287, allocations: 1.056 MB / 0.8205 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.03288, allocations: 4 kB / 0.8205 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.03307, allocations: 59.95 kB / 0.8206 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004956/0.03357, allocations: 219.2 kB / 0.8208 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.03359, allocations: 16 kB / 0.8208 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/0.03627, allocations: 5.651 MB / 0.8263 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.03627, allocations: 4.062 kB / 0.8263 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.03707, allocations: 0.7496 MB / 0.8271 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.03718, allocations: 95.56 kB / 0.8272 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.03722, allocations: 8 kB / 0.8272 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.03737, allocations: 28 kB / 0.8272 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.03745, allocations: 35.94 kB / 0.8272 GB, free: 2.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.03747, allocations: 11.94 kB / 0.8272 GB, free: 2.016 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001848/0.03765, allocations: 302.8 kB / 0.8275 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.03765, allocations: 4 kB / 0.8275 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004191/0.03807, allocations: 168 kB / 0.8277 GB, free: 1.551 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.03819, allocations: 111.2 kB / 0.8278 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008608/0.03905, allocations: 0.9208 MB / 0.8287 GB, free: 464 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.03905, allocations: 0 / 0.8287 GB, free: 464 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.03955, allocations: 0.733 MB / 0.8294 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.04007, allocations: 181.4 kB / 0.8296 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.04157, allocations: 1.151 MB / 0.8307 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.0417, allocations: 182.5 kB / 0.8309 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000199/0.0419, allocations: 88.8 kB / 0.831 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.04197, allocations: 40.5 kB / 0.831 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of SimCode: time 1.042e-06/0.04197, allocations: 0 / 0.831 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of Templates: time 0.0108/0.05276, allocations: 9.185 MB / 0.84 GB, free: 4.988 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.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: 4.974676265846938]