Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0009984/0.0009984, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001728/0.001728, allocations: 169.4 kB / 24.06 MB, free: 448 kB / 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.9418/0.9418, allocations: 177.1 MB / 204.5 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.065/2.065, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.147e-05, allocations: 6.328 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02206/0.02209, allocations: 19.5 MB / 0.8985 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.03475, allocations: 5.589 MB / 0.9039 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003789/0.03853, allocations: 194.6 kB / 0.9041 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.04191, allocations: 0.826 MB / 0.9049 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00526/0.04717, allocations: 1.864 MB / 0.9067 GB, free: 10 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003677/0.05085, allocations: 1.642 MB / 0.9083 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.008146/0.05899, allocations: 8.012 MB / 0.9162 GB, free: 324 kB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007396/0.06639, allocations: 5.214 MB / 0.9213 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00798/0.07437, allocations: 4.869 MB / 0.926 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005497/0.07987, allocations: 3.753 MB / 0.9297 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.08155, allocations: 0.6758 MB / 0.9303 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.08381, allocations: 0.7654 MB / 0.9311 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003151/0.08696, allocations: 2.841 MB / 0.9339 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004244/0.09121, allocations: 2.175 MB / 0.936 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.006028/0.09723, allocations: 5.318 MB / 0.9412 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.09724, allocations: 0 / 0.9412 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.563e-06/0.09724, allocations: 0 / 0.9412 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002908/0.09753, allocations: 3.938 kB / 0.9412 GB, free: 6.531 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.008458/0.106, allocations: 5.607 MB / 0.9467 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.106, allocations: 12.03 kB / 0.9467 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.1091, allocations: 1.312 MB / 0.9479 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004426/0.1135, allocations: 2.82 MB / 0.9507 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.1137, allocations: 357.9 kB / 0.951 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000794/0.1145, allocations: 480.3 kB / 0.9515 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006991/0.1215, allocations: 5.069 MB / 0.9564 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.1216, allocations: 24 kB / 0.9565 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004252/0.122, allocations: 208.3 kB / 0.9567 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003566/0.1224, allocations: 369 kB / 0.957 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.1255, allocations: 1.467 MB / 0.9585 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02388/0.1494, allocations: 25.03 MB / 0.9829 GB, free: 10.19 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.1506, allocations: 0.78 MB / 0.9837 GB, free: 9.387 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.1512, allocations: 0.5285 MB / 0.9842 GB, free: 8.859 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.611e-05/0.1513, allocations: 25.31 kB / 0.9842 GB, free: 8.836 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.1513, allocations: 58.69 kB / 0.9843 GB, free: 8.766 MB / 0.948 GB Notification: Performance of pre-optimization done (n=157): time 3.487e-06/0.1513, allocations: 0 / 0.9843 GB, free: 8.766 MB / 0.948 GB Notification: Performance of matching and sorting (n=160): time 0.006317/0.1576, allocations: 3.093 MB / 0.9873 GB, free: 5.625 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1577, allocations: 72.66 kB / 0.9873 GB, free: 5.539 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.159, allocations: 1.556 MB / 0.9889 GB, free: 3.938 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.1591, allocations: 61.7 kB / 0.9889 GB, free: 3.871 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.1601, allocations: 2.258 MB / 0.9911 GB, free: 1.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.1605, allocations: 0.5965 MB / 0.9917 GB, free: 0.9883 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006577/0.1612, allocations: 417.7 kB / 0.9921 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1613, allocations: 480.8 kB / 0.9926 GB, free: 100 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.1617, allocations: 288.1 kB / 0.9928 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.1625, allocations: 1.285 MB / 0.9941 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.1639, allocations: 1.762 MB / 0.9958 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.1639, allocations: 8 kB / 0.9958 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002816/0.1667, allocations: 2.147 MB / 0.9979 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.1667, allocations: 16 kB / 0.9979 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.1668, allocations: 20 kB / 0.998 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/0.1688, allocations: 0.7147 MB / 0.9987 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.1698, allocations: 379.3 kB / 0.999 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.1818, allocations: 22.66 MB / 1.021 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.1831, allocations: 64 kB / 1.021 GB, free: 444 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.1832, allocations: 76.06 kB / 1.021 GB, free: 368 kB / 0.9792 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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.0009533/0.1842, allocations: 305.5 kB / 1.022 GB, free: 52 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.1845, allocations: 302.7 kB / 1.022 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.1865, allocations: 1.563 MB / 1.023 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1865, allocations: 19.94 kB / 1.023 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.1865, allocations: 8 kB / 1.023 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1865, allocations: 7.969 kB / 1.023 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005527/0.192, allocations: 3.834 MB / 1.027 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.192, allocations: 4 kB / 1.027 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.1925, allocations: 167.7 kB / 1.027 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.1939, allocations: 0.6792 MB / 1.028 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-05/0.194, allocations: 32 kB / 1.028 GB, free: 9.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.2058, allocations: 22.61 MB / 1.05 GB, free: 1.172 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.2058, allocations: 15.88 kB / 1.05 GB, free: 1.156 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4303/0.6362, allocations: 1.847 MB / 1.052 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.6372, allocations: 399.6 kB / 1.052 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.6374, allocations: 30.25 kB / 1.052 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/0.638, allocations: 34.25 kB / 1.052 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/0.6384, allocations: 152.3 kB / 1.053 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/0.6384, allocations: 36.16 kB / 1.053 GB, free: 170 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006432/0.6391, allocations: 0.8247 MB / 1.053 GB, free: 169.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6391, allocations: 0 / 1.053 GB, free: 169.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002375/0.6414, allocations: 0.904 MB / 1.054 GB, free: 169.8 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002508/0.6417, allocations: 158 kB / 1.054 GB, free: 169.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002847/0.6445, allocations: 3.562 MB / 1.058 GB, free: 167.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.6445, allocations: 2.844 kB / 1.058 GB, free: 167.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.6464, allocations: 2.928 MB / 1.061 GB, free: 165.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.6486, allocations: 0.7729 MB / 1.061 GB, free: 165.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009183/0.6578, allocations: 6.973 MB / 1.068 GB, free: 162.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.659, allocations: 1.175 MB / 1.069 GB, free: 162.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001172/0.6601, allocations: 296.2 kB / 1.07 GB, free: 162.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.6613, allocations: 0.7441 MB / 1.07 GB, free: 162.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.853e-06/0.6613, allocations: 0 / 1.07 GB, free: 162.3 MB / 1.01 GB Notification: Performance of Templates: time 0.07363/0.7349, allocations: 46.14 MB / 1.115 GB, free: 155 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.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: 7.075431040953845]