Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0009188/0.0009188, allocations: 80.3 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.0009165/0.0009165, allocations: 172.4 kB / 24.87 MB, free: 9.223 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.9335/0.9335, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.707/1.707, allocations: 359 MB / 0.6063 GB, free: 10.9 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.109e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01377/0.0138, allocations: 15.08 MB / 0.8031 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007825/0.02162, allocations: 4.5 MB / 0.8075 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.024, allocations: 154.8 kB / 0.8076 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.0257, allocations: 0.6321 MB / 0.8082 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.02878, allocations: 1.46 MB / 0.8096 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.03129, allocations: 1.311 MB / 0.8109 GB, free: 5.035 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006266/0.03756, allocations: 6.168 MB / 0.8169 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00486/0.04242, allocations: 3.779 MB / 0.8206 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006022/0.04844, allocations: 3.696 MB / 0.8242 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/0.05275, allocations: 2.871 MB / 0.8271 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.05406, allocations: 0.5078 MB / 0.8275 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.05537, allocations: 0.5945 MB / 0.8281 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.05708, allocations: 2.222 MB / 0.8303 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002877/0.05996, allocations: 1.669 MB / 0.8319 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004487/0.06444, allocations: 4.111 MB / 0.8359 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.06445, allocations: 0 / 0.8359 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.694e-06/0.06445, allocations: 0 / 0.8359 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002077/0.06466, allocations: 1.031 kB / 0.8359 GB, free: 11.28 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.005944/0.0706, allocations: 4.381 MB / 0.8402 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.07065, allocations: 8.031 kB / 0.8402 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.07298, allocations: 1.106 MB / 0.8413 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.07576, allocations: 2.251 MB / 0.8435 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.07591, allocations: 271.6 kB / 0.8438 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005079/0.07641, allocations: 380.8 kB / 0.8441 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/0.08051, allocations: 3.733 MB / 0.8478 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.489e-05/0.0806, allocations: 27.8 kB / 0.8478 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.08083, allocations: 156 kB / 0.848 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003283/0.08116, allocations: 270.9 kB / 0.8482 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.08297, allocations: 1.128 MB / 0.8493 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.09657, allocations: 18.86 MB / 0.8677 GB, free: 9.566 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.09707, allocations: 381.7 kB / 0.8681 GB, free: 9.188 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.09742, allocations: 350.4 kB / 0.8684 GB, free: 8.844 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.555e-05/0.09748, allocations: 21 kB / 0.8684 GB, free: 8.82 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.09751, allocations: 54.39 kB / 0.8685 GB, free: 8.758 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 3.367e-06/0.09752, allocations: 4 kB / 0.8685 GB, free: 8.754 MB / 0.823 GB Notification: Performance of matching and sorting (n=131): time 0.007228/0.1047, allocations: 4.19 MB / 0.8726 GB, free: 4.492 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1048, allocations: 64.72 kB / 0.8727 GB, free: 4.418 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008837/0.1057, allocations: 1.292 MB / 0.8739 GB, free: 3.109 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/0.1057, allocations: 53.7 kB / 0.874 GB, free: 3.051 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000731/0.1065, allocations: 1.78 MB / 0.8757 GB, free: 1.254 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.1067, allocations: 0.4919 MB / 0.8762 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.107, allocations: 340.9 kB / 0.8765 GB, free: 428 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1071, allocations: 480.8 kB / 0.877 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.1074, allocations: 247.8 kB / 0.8772 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/0.108, allocations: 1.03 MB / 0.8782 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.1091, allocations: 1.434 MB / 0.8796 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.1091, allocations: 4 kB / 0.8796 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002156/0.1112, allocations: 1.801 MB / 0.8814 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1113, allocations: 12 kB / 0.8814 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.1113, allocations: 20 kB / 0.8814 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.1126, allocations: 0.5985 MB / 0.882 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.1133, allocations: 327.5 kB / 0.8823 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/0.1215, allocations: 16.84 MB / 0.8988 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.1226, allocations: 52 kB / 0.8988 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.1226, allocations: 60 kB / 0.8989 GB, free: 7.754 MB / 0.8542 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.0008018/0.1234, allocations: 272 kB / 0.8991 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.1237, allocations: 238.9 kB / 0.8993 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.1255, allocations: 1.388 MB / 0.9007 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.1255, allocations: 16 kB / 0.9007 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1255, allocations: 8 kB / 0.9007 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1255, allocations: 3.984 kB / 0.9007 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.1298, allocations: 3.274 MB / 0.9039 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.1298, allocations: 11.97 kB / 0.9039 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.1303, allocations: 179.7 kB / 0.9041 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.1315, allocations: 0.5592 MB / 0.9047 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.1316, allocations: 32 kB / 0.9047 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00752/0.1391, allocations: 16.79 MB / 0.9211 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1391, allocations: 8.062 kB / 0.9211 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.1415, allocations: 1.884 MB / 0.9229 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005573/0.1421, allocations: 322.6 kB / 0.9232 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.1422, allocations: 39.98 kB / 0.9233 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.1426, allocations: 31.94 kB / 0.9233 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.1429, allocations: 116.7 kB / 0.9234 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.1429, allocations: 36.06 kB / 0.9235 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005268/0.1435, allocations: 0.7014 MB / 0.9241 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1435, allocations: 0 / 0.9241 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001672/0.1451, allocations: 0.6953 MB / 0.9248 GB, free: 11.73 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0002164/0.1453, allocations: 153.5 kB / 0.925 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002333/0.1477, allocations: 2.734 MB / 0.9276 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.1477, allocations: 4.125 kB / 0.9276 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.1492, allocations: 2.196 MB / 0.9298 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.1507, allocations: 0.6346 MB / 0.9304 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/0.158, allocations: 5.829 MB / 0.9361 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/0.1588, allocations: 0.9324 MB / 0.937 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008177/0.1596, allocations: 232.8 kB / 0.9372 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008203/0.1604, allocations: 0.5916 MB / 0.9378 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of SimCode: time 2.043e-06/0.1604, allocations: 0 / 0.9378 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of Templates: time 0.04667/0.2071, allocations: 37.22 MB / 0.9742 GB, free: 9.5 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_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: 5.665385058149695]