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.0009156/0.0009156, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009426/0.0009426, allocations: 165 kB / 23.02 MB, free: 1.547 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.9341/0.9341, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.079/2.079, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 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.633e-06/1.633e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.909e-05, allocations: 3.812 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01931/0.01933, allocations: 21.51 MB / 0.8992 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.02963, allocations: 6.159 MB / 0.9052 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.03244, allocations: 202.5 kB / 0.9054 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.03427, allocations: 0.9268 MB / 0.9063 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.03738, allocations: 2.054 MB / 0.9083 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.04036, allocations: 1.837 MB / 0.9101 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.006945/0.0473, allocations: 9.313 MB / 0.9192 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005933/0.05323, allocations: 6.198 MB / 0.9253 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005474/0.05871, allocations: 5.735 MB / 0.9309 GB, free: 96 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004869/0.06358, allocations: 4.486 MB / 0.9352 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.00158/0.06516, allocations: 0.8203 MB / 0.936 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.06681, allocations: 0.9216 MB / 0.9369 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002167/0.06898, allocations: 3.414 MB / 0.9403 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/0.0717, allocations: 2.6 MB / 0.9428 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.005045/0.07675, allocations: 6.362 MB / 0.949 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.07675, allocations: 0 / 0.949 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.493e-06/0.07675, allocations: 0 / 0.949 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001732/0.07693, allocations: 0 / 0.949 GB, free: 13.45 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.006889/0.08381, allocations: 6.602 MB / 0.9555 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.08385, allocations: 12.03 kB / 0.9555 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.08681, allocations: 1.706 MB / 0.9572 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003581/0.09039, allocations: 3.5 MB / 0.9606 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.09058, allocations: 423.8 kB / 0.961 GB, free: 1.07 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005164/0.0911, allocations: 0.5589 MB / 0.9615 GB, free: 0.5117 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006268/0.09737, allocations: 6.277 MB / 0.9677 GB, free: 9.566 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.792e-05/0.09745, allocations: 24 kB / 0.9677 GB, free: 9.543 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.09781, allocations: 244.3 kB / 0.9679 GB, free: 9.305 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003474/0.09815, allocations: 418.9 kB / 0.9683 GB, free: 8.895 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/0.1019, allocations: 2.148 MB / 0.9704 GB, free: 6.738 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.019/0.1209, allocations: 28.16 MB / 0.9979 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.1227, allocations: 1.423 MB / 0.9993 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.1238, allocations: 0.9371 MB / 1 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.1239, allocations: 34 kB / 1 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.1239, allocations: 67.39 kB / 1 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=209): time 4.268e-06/0.124, allocations: 0 / 1 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=212): time 0.01143/0.1354, allocations: 6.433 MB / 1.007 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1354, allocations: 73.41 kB / 1.007 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.1368, allocations: 1.691 MB / 1.008 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.911e-05/0.1369, allocations: 61.7 kB / 1.008 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.1379, allocations: 2.532 MB / 1.011 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005577/0.1385, allocations: 0.7825 MB / 1.012 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004625/0.139, allocations: 495.9 kB / 1.012 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.139, allocations: 484.7 kB / 1.013 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006947/0.1397, allocations: 465 kB / 1.013 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.1409, allocations: 1.493 MB / 1.014 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.1429, allocations: 2.155 MB / 1.017 GB, free: 5.738 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.1429, allocations: 8 kB / 1.017 GB, free: 5.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003565/0.1465, allocations: 2.867 MB / 1.019 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1465, allocations: 16 kB / 1.019 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.1465, allocations: 24.91 kB / 1.019 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/0.1488, allocations: 1.212 MB / 1.021 GB, free: 1.574 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/0.1498, allocations: 455.2 kB / 1.021 GB, free: 1.129 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009798/0.1596, allocations: 12.4 MB / 1.033 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008839/0.1605, allocations: 151.8 kB / 1.033 GB, free: 4.102 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.1606, allocations: 108 kB / 1.033 GB, free: 3.996 MB / 0.9948 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.0008992/0.1615, allocations: 315.9 kB / 1.034 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.1618, allocations: 354.2 kB / 1.034 GB, free: 3.328 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.1649, allocations: 2.241 MB / 1.036 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.165, allocations: 23.94 kB / 1.036 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.165, allocations: 16 kB / 1.036 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.165, allocations: 12 kB / 1.036 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007467/0.1724, allocations: 6.185 MB / 1.042 GB, free: 10.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.1724, allocations: 8 kB / 1.042 GB, free: 10.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.173, allocations: 235.6 kB / 1.043 GB, free: 10.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/0.175, allocations: 1.052 MB / 1.044 GB, free: 9.359 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-05/0.1751, allocations: 40 kB / 1.044 GB, free: 9.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3806/0.5556, allocations: 12.35 MB / 1.056 GB, free: 167.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5556, allocations: 3.969 kB / 1.056 GB, free: 167.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/0.5589, allocations: 2.541 MB / 1.058 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007162/0.5596, allocations: 0.5164 MB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.5598, allocations: 42.75 kB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.5604, allocations: 114.3 kB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/0.5607, allocations: 191.6 kB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/0.5608, allocations: 60.47 kB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007535/0.5615, allocations: 0.9553 MB / 1.06 GB, free: 166.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5615, allocations: 2.188 kB / 1.06 GB, free: 166.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002021/0.5635, allocations: 1.138 MB / 1.061 GB, free: 166.3 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.0001945/0.5637, allocations: 168.7 kB / 1.061 GB, free: 166.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003032/0.5668, allocations: 3.129 MB / 1.064 GB, free: 165.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5668, allocations: 2.531 kB / 1.064 GB, free: 165.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.5686, allocations: 2.283 MB / 1.067 GB, free: 164.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.5703, allocations: 0.8263 MB / 1.067 GB, free: 164.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008911/0.5792, allocations: 8.434 MB / 1.076 GB, free: 161.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.5803, allocations: 1.397 MB / 1.077 GB, free: 161 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008515/0.5811, allocations: 465.2 kB / 1.077 GB, free: 160.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.5814, allocations: 142 kB / 1.078 GB, free: 160.9 MB / 1.01 GB Notification: Performance of SimCode: time 7.51e-07/0.5814, allocations: 0 / 1.078 GB, free: 160.9 MB / 1.01 GB Notification: Performance of Templates: time 0.05718/0.6386, allocations: 52.52 MB / 1.129 GB, free: 150 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.806262311991304]