Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008698/0.0008698, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008141/0.0008141, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9157/0.9157, allocations: 177.2 MB / 203.5 MB, free: 5.719 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.758/1.758, allocations: 377.8 MB / 0.6228 GB, free: 8.648 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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_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.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.743e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0183/0.01833, allocations: 25.07 MB / 1.007 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.02893, allocations: 7.981 MB / 1.014 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.0311, allocations: 150.8 kB / 1.015 GB, free: 0.7656 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.03501, allocations: 2.789 MB / 1.017 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.03862, allocations: 1.713 MB / 1.019 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.0418, allocations: 1.697 MB / 1.021 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.006654/0.04846, allocations: 6.27 MB / 1.027 GB, free: 4.266 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005096/0.05355, allocations: 3.762 MB / 1.03 GB, free: 420 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005859/0.05941, allocations: 3.719 MB / 1.034 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003583/0.06299, allocations: 2.642 MB / 1.037 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.06404, allocations: 0.5078 MB / 1.037 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.06651, allocations: 1.213 MB / 1.038 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.06839, allocations: 2.202 MB / 1.041 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002013/0.0704, allocations: 1.653 MB / 1.042 GB, free: 4.449 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.5016/0.572, allocations: 8.209 MB / 1.05 GB, free: 63.05 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.572, allocations: 2.781 kB / 1.05 GB, free: 63.05 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.234e-06/0.572, allocations: 0 / 1.05 GB, free: 63.05 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002535/0.5723, allocations: 0 / 1.05 GB, free: 63.05 MB / 0.9948 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.006969/0.5793, allocations: 4.215 MB / 1.054 GB, free: 61.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5793, allocations: 8.531 kB / 1.054 GB, free: 61.48 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/0.5819, allocations: 0.8325 MB / 1.055 GB, free: 61.25 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/0.5854, allocations: 2.534 MB / 1.058 GB, free: 60.69 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.5855, allocations: 275.5 kB / 1.058 GB, free: 60.68 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005399/0.5861, allocations: 373.7 kB / 1.058 GB, free: 60.68 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007067/0.5931, allocations: 6.442 MB / 1.064 GB, free: 59.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.91e-05/0.5932, allocations: 19.2 kB / 1.064 GB, free: 59.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.5935, allocations: 161.2 kB / 1.065 GB, free: 59.35 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003304/0.5938, allocations: 281.6 kB / 1.065 GB, free: 59.34 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005107/0.5989, allocations: 4.522 MB / 1.069 GB, free: 59.31 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/0.6135, allocations: 17.37 MB / 1.086 GB, free: 48.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.6147, allocations: 1.053 MB / 1.087 GB, free: 47.81 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009627/0.6157, allocations: 0.9578 MB / 1.088 GB, free: 47.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.6158, allocations: 12.28 kB / 1.088 GB, free: 47.45 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.6158, allocations: 45.36 kB / 1.088 GB, free: 47.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.677e-06/0.6158, allocations: 0 / 1.088 GB, free: 47.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131): time 0.01416/0.63, allocations: 9.086 MB / 1.097 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.63, allocations: 65.5 kB / 1.097 GB, free: 43.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.6316, allocations: 1.396 MB / 1.099 GB, free: 43.23 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.6318, allocations: 51.58 kB / 1.099 GB, free: 43.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/0.6325, allocations: 1.723 MB / 1.1 GB, free: 41.86 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.6328, allocations: 489.5 kB / 1.101 GB, free: 41.48 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.6331, allocations: 330.8 kB / 1.101 GB, free: 41.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.07e-05/0.6332, allocations: 307.4 kB / 1.101 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009888/0.6342, allocations: 0.9155 MB / 1.102 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.6353, allocations: 1.459 MB / 1.104 GB, free: 39.67 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.6377, allocations: 2.551 MB / 1.106 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.6377, allocations: 5.344 kB / 1.106 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004573/0.6422, allocations: 3.262 MB / 1.109 GB, free: 36.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.6423, allocations: 10.47 kB / 1.109 GB, free: 36.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.6423, allocations: 17.34 kB / 1.109 GB, free: 36.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.6438, allocations: 0.7408 MB / 1.11 GB, free: 36.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/0.6447, allocations: 386.1 kB / 1.111 GB, free: 36.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008769/0.6535, allocations: 15.81 MB / 1.126 GB, free: 23.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.6549, allocations: 105 kB / 1.126 GB, free: 23.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6551, allocations: 76.97 kB / 1.126 GB, free: 23.57 MB / 0.9948 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.00208/0.6571, allocations: 1.31 MB / 1.127 GB, free: 23 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.6575, allocations: 198.7 kB / 1.128 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.6607, allocations: 2.764 MB / 1.13 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6608, allocations: 12.91 kB / 1.13 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.6608, allocations: 7.391 kB / 1.13 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.6608, allocations: 7.781 kB / 1.13 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007371/0.6682, allocations: 5.33 MB / 1.136 GB, free: 19.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.6682, allocations: 8.906 kB / 1.136 GB, free: 19.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/0.6688, allocations: 237.9 kB / 1.136 GB, free: 19.49 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.67, allocations: 0.6634 MB / 1.136 GB, free: 19.26 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.6701, allocations: 34.02 kB / 1.136 GB, free: 19.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008409/0.6785, allocations: 15.55 MB / 1.152 GB, free: 6.285 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6785, allocations: 10.56 kB / 1.152 GB, free: 6.281 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004701/0.6832, allocations: 3.966 MB / 1.156 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008873/0.6841, allocations: 372.7 kB / 1.156 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.6842, allocations: 46.78 kB / 1.156 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.6848, allocations: 83.56 kB / 1.156 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/0.6851, allocations: 121.3 kB / 1.156 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.6852, allocations: 42.92 kB / 1.156 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001019/0.6862, allocations: 0.903 MB / 1.157 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6862, allocations: 1.375 kB / 1.157 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002077/0.6883, allocations: 0.6816 MB / 1.158 GB, free: 3.789 MB / 0.9948 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.0002152/0.6885, allocations: 148.6 kB / 1.158 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003485/0.692, allocations: 3.382 MB / 1.161 GB, free: 1.895 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.692, allocations: 1.438 kB / 1.161 GB, free: 1.895 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.6938, allocations: 2.235 MB / 1.163 GB, free: 460 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.6955, allocations: 0.6489 MB / 1.164 GB, free: 232 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008959/0.7045, allocations: 6.993 MB / 1.171 GB, free: 12.84 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/0.7064, allocations: 2.16 MB / 1.173 GB, free: 12.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.7069, allocations: 121 kB / 1.173 GB, free: 12.25 MB / 1.01 GB Notification: Performance of SimCode: time 1.553e-06/0.7069, allocations: 0 / 1.173 GB, free: 12.25 MB / 1.01 GB Notification: Performance of Templates: time 0.1347/0.8416, allocations: 210.8 MB / 1.379 GB, free: 3.469 MB / 1.198 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.19752515014261]