Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001344/0.001344, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001396/0.001396, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9383/0.9383, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.33/2.33, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 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.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.173e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01471/0.01472, allocations: 20.92 MB / 0.9102 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007645/0.02237, allocations: 6.153 MB / 0.9162 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.02342, allocations: 198.6 kB / 0.9164 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.02466, allocations: 0.9268 MB / 0.9173 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.02698, allocations: 2.042 MB / 0.9193 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.02886, allocations: 1.841 MB / 0.9211 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00564/0.03449, allocations: 9.325 MB / 0.9302 GB, free: 180 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005299/0.03979, allocations: 6.198 MB / 0.9363 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005219/0.04501, allocations: 5.747 MB / 0.9419 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.04916, allocations: 4.537 MB / 0.9463 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0008257/0.04999, allocations: 0.8203 MB / 0.9471 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.05109, allocations: 0.9138 MB / 0.948 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.05301, allocations: 3.406 MB / 0.9513 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.05519, allocations: 2.589 MB / 0.9539 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.05968, allocations: 6.331 MB / 0.96 GB, free: 1.457 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.05968, allocations: 0 / 0.96 GB, free: 1.457 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.054e-06/0.05969, allocations: 0 / 0.96 GB, free: 1.457 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001662/0.05985, allocations: 4 kB / 0.96 GB, free: 1.453 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.006981/0.06683, allocations: 6.53 MB / 0.9664 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.06688, allocations: 12.61 kB / 0.9664 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.06962, allocations: 1.503 MB / 0.9679 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/0.07267, allocations: 3.149 MB / 0.971 GB, free: 6.113 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.07287, allocations: 427.7 kB / 0.9714 GB, free: 5.695 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000509/0.07338, allocations: 0.5589 MB / 0.9719 GB, free: 5.137 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005211/0.07859, allocations: 5.877 MB / 0.9777 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.253e-05/0.07867, allocations: 27.98 kB / 0.9777 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003364/0.07901, allocations: 244.3 kB / 0.9779 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003356/0.07934, allocations: 422.9 kB / 0.9783 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.08153, allocations: 1.694 MB / 0.98 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.09819, allocations: 26.7 MB / 1.006 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.09953, allocations: 1.255 MB / 1.007 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/0.1003, allocations: 0.8199 MB / 1.008 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.133e-05/0.1004, allocations: 38 kB / 1.008 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1005, allocations: 63.39 kB / 1.008 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=209): time 3.316e-06/0.1005, allocations: 4 kB / 1.008 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of matching and sorting (n=212): time 0.009224/0.1097, allocations: 5.407 MB / 1.013 GB, free: 9.145 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1097, allocations: 77.34 kB / 1.014 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1108, allocations: 1.659 MB / 1.015 GB, free: 7.363 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.588e-05/0.1109, allocations: 65.7 kB / 1.015 GB, free: 7.293 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.112, allocations: 2.54 MB / 1.018 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/0.1124, allocations: 0.798 MB / 1.018 GB, free: 3.922 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004648/0.1129, allocations: 495.8 kB / 1.019 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.113, allocations: 484.6 kB / 1.019 GB, free: 2.953 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.1134, allocations: 345 kB / 1.02 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.1142, allocations: 1.395 MB / 1.021 GB, free: 0.7852 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.1158, allocations: 1.952 MB / 1.023 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.1158, allocations: 8 kB / 1.023 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00272/0.1185, allocations: 2.579 MB / 1.026 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1185, allocations: 16 kB / 1.026 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.1186, allocations: 20 kB / 1.026 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.1205, allocations: 1.179 MB / 1.027 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.1213, allocations: 403.3 kB / 1.027 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008436/0.1297, allocations: 11.91 MB / 1.039 GB, free: 13.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/0.1304, allocations: 75.98 kB / 1.039 GB, free: 13.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.1305, allocations: 88 kB / 1.039 GB, free: 13.66 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000973/0.1315, allocations: 307.9 kB / 1.039 GB, free: 13.34 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.1318, allocations: 350.3 kB / 1.04 GB, free: 13 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.1341, allocations: 2.038 MB / 1.042 GB, free: 10.93 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1341, allocations: 20 kB / 1.042 GB, free: 10.91 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.1341, allocations: 20 kB / 1.042 GB, free: 10.89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.1341, allocations: 19.84 kB / 1.042 GB, free: 10.87 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005993/0.1401, allocations: 4.764 MB / 1.046 GB, free: 5.973 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.1401, allocations: 8 kB / 1.046 GB, free: 5.965 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.1405, allocations: 187.7 kB / 1.046 GB, free: 5.781 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/0.1424, allocations: 1.015 MB / 1.047 GB, free: 4.754 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.1424, allocations: 40 kB / 1.047 GB, free: 4.715 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4192/0.5616, allocations: 11.83 MB / 1.059 GB, free: 156.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5616, allocations: 9.031 kB / 1.059 GB, free: 156.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.5642, allocations: 2.33 MB / 1.061 GB, free: 156.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.5648, allocations: 475.3 kB / 1.062 GB, free: 156.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.5649, allocations: 42.17 kB / 1.062 GB, free: 156.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.5654, allocations: 42.31 kB / 1.062 GB, free: 156.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.5657, allocations: 195 kB / 1.062 GB, free: 156.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.5658, allocations: 43.81 kB / 1.062 GB, free: 156.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005572/0.5663, allocations: 0.8806 MB / 1.063 GB, free: 156 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5663, allocations: 0 / 1.063 GB, free: 156 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002246/0.5686, allocations: 1.143 MB / 1.064 GB, free: 156 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/0.5688, allocations: 163.9 kB / 1.064 GB, free: 155.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002534/0.5713, allocations: 2.921 MB / 1.067 GB, free: 155 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5713, allocations: 5.438 kB / 1.067 GB, free: 155 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.5729, allocations: 2.191 MB / 1.069 GB, free: 154.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.5746, allocations: 0.8198 MB / 1.07 GB, free: 154.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008359/0.5829, allocations: 8.41 MB / 1.078 GB, free: 150.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.584, allocations: 1.401 MB / 1.08 GB, free: 150.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007045/0.5847, allocations: 316.3 kB / 1.08 GB, free: 150.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.5857, allocations: 0.7957 MB / 1.081 GB, free: 150.4 MB / 1.01 GB Notification: Performance of SimCode: time 8.32e-07/0.5857, allocations: 0 / 1.081 GB, free: 150.4 MB / 1.01 GB Notification: Performance of Templates: time 0.06914/0.6548, allocations: 55.62 MB / 1.135 GB, free: 138 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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: 6.510245302226394]