Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00104/0.00104, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001072/0.001072, allocations: 173 kB / 23.35 MB, free: 1.133 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.9518/0.9518, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.439/2.439, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.81e-07/7.81e-07, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.579e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01087/0.01089, allocations: 15.1 MB / 0.8533 GB, free: 14.99 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.006179/0.01707, allocations: 4.614 MB / 0.8578 GB, free: 10.36 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009442/0.01801, allocations: 154.8 kB / 0.858 GB, free: 10.21 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009338/0.01894, allocations: 0.632 MB / 0.8586 GB, free: 9.57 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.02067, allocations: 1.46 MB / 0.86 GB, free: 8.102 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.0223, allocations: 1.338 MB / 0.8613 GB, free: 6.762 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00371/0.02601, allocations: 6.172 MB / 0.8674 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.0288, allocations: 4.004 MB / 0.8713 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.03148, allocations: 3.696 MB / 0.8749 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/0.03438, allocations: 2.763 MB / 0.8776 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0006179/0.035, allocations: 0.5078 MB / 0.8781 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.03573, allocations: 0.6012 MB / 0.8787 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.03701, allocations: 2.222 MB / 0.8808 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.03874, allocations: 1.672 MB / 0.8825 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.04156, allocations: 4.102 MB / 0.8865 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.04156, allocations: 4 kB / 0.8865 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.052e-06/0.04156, allocations: 0 / 0.8865 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.167e-05/0.04165, allocations: 4 kB / 0.8865 GB, free: 12.84 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.003833/0.04549, allocations: 3.981 MB / 0.8904 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.04552, allocations: 12.62 kB / 0.8904 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.0478, allocations: 0.9989 MB / 0.8914 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.05053, allocations: 1.976 MB / 0.8933 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.0507, allocations: 275.6 kB / 0.8936 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.05117, allocations: 380.8 kB / 0.8939 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003426/0.0546, allocations: 3.6 MB / 0.8974 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.243e-05/0.05466, allocations: 23.81 kB / 0.8975 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.05489, allocations: 164 kB / 0.8976 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002927/0.05518, allocations: 270.9 kB / 0.8979 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.0565, allocations: 0.9959 MB / 0.8988 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.07284, allocations: 14.17 MB / 0.9127 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.07334, allocations: 403.8 kB / 0.9131 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.07367, allocations: 303.1 kB / 0.9134 GB, free: 352 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/0.07373, allocations: 17 kB / 0.9134 GB, free: 332 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.07376, allocations: 51.5 kB / 0.9134 GB, free: 272 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 4.067e-06/0.07376, allocations: 0 / 0.9134 GB, free: 272 kB / 0.8698 GB Notification: Performance of matching and sorting (n=113): time 0.005537/0.0793, allocations: 3.096 MB / 0.9164 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.07933, allocations: 68.34 kB / 0.9165 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.08013, allocations: 1.182 MB / 0.9177 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.08019, allocations: 45.7 kB / 0.9177 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008503/0.08104, allocations: 1.509 MB / 0.9192 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.08125, allocations: 420.3 kB / 0.9196 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.08151, allocations: 299.2 kB / 0.9199 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.08158, allocations: 305.1 kB / 0.9202 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.08184, allocations: 206.8 kB / 0.9204 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.08231, allocations: 0.7212 MB / 0.9211 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/0.08318, allocations: 1.102 MB / 0.9221 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.08319, allocations: 8 kB / 0.9221 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00155/0.08474, allocations: 1.282 MB / 0.9234 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.08476, allocations: 14.19 kB / 0.9234 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.08478, allocations: 20 kB / 0.9234 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008685/0.08565, allocations: 414.1 kB / 0.9238 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.0863, allocations: 331.4 kB / 0.9241 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.0909, allocations: 8.039 MB / 0.932 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.09166, allocations: 48 kB / 0.932 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.09174, allocations: 60 kB / 0.9321 GB, free: 11.92 MB / 0.9011 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 (184): * Single equations (assignments): 178 * 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 {(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 prepare postOptimizeDAE: time 0.0007038/0.09245, allocations: 220.1 kB / 0.9323 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.09265, allocations: 159.8 kB / 0.9325 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.09411, allocations: 0.9598 MB / 0.9334 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.09412, allocations: 12 kB / 0.9334 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.09412, allocations: 4.188 kB / 0.9334 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.09413, allocations: 7.969 kB / 0.9334 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.09738, allocations: 2.336 MB / 0.9357 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.09738, allocations: 4 kB / 0.9357 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.09786, allocations: 179.7 kB / 0.9359 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008173/0.09868, allocations: 386.2 kB / 0.9362 GB, free: 7.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.09873, allocations: 27.98 kB / 0.9363 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.1032, allocations: 8.035 MB / 0.9441 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1032, allocations: 7.938 kB / 0.9441 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.1048, allocations: 1.337 MB / 0.9454 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.1053, allocations: 254.7 kB / 0.9457 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.1054, allocations: 27.98 kB / 0.9457 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.1058, allocations: 24 kB / 0.9457 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.106, allocations: 100.7 kB / 0.9458 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.106, allocations: 28 kB / 0.9458 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007064/0.1067, allocations: 0.5741 MB / 0.9464 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1067, allocations: 0 / 0.9464 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001462/0.1082, allocations: 0.6484 MB / 0.947 GB, free: 11.77 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (92): * Single equations (assignments): 86 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001834/0.1084, allocations: 128.2 kB / 0.9472 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.1099, allocations: 1.631 MB / 0.9487 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.792e-05/0.1099, allocations: 25.75 kB / 0.9488 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009735/0.1109, allocations: 1.192 MB / 0.9499 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.1122, allocations: 0.6274 MB / 0.9505 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007185/0.1194, allocations: 5.702 MB / 0.9561 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/0.1202, allocations: 0.8952 MB / 0.957 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007447/0.1209, allocations: 235.9 kB / 0.9572 GB, free: 1.051 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007978/0.1217, allocations: 0.5108 MB / 0.9577 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of SimCode: time 1.182e-06/0.1217, allocations: 0 / 0.9577 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of Templates: time 0.04301/0.1647, allocations: 32.43 MB / 0.9894 GB, free: 0.8789 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.86692082695663]