Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0009411/0.0009411, allocations: 91.58 kB / 20.45 MB, free: 4.113 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.0009318/0.0009318, allocations: 165 kB / 23.82 MB, free: 0.7461 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.934/0.934, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.649/1.649, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.353e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01434/0.01435, allocations: 18.84 MB / 0.8055 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.0258, allocations: 9.514 MB / 0.8148 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.02764, allocations: 190.6 kB / 0.815 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.02904, allocations: 0.7792 MB / 0.8157 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004075/0.03312, allocations: 2.593 MB / 0.8183 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.03587, allocations: 1.587 MB / 0.8198 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0086/0.04447, allocations: 7.693 MB / 0.8273 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007236/0.0517, allocations: 4.585 MB / 0.8318 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007931/0.05963, allocations: 4.904 MB / 0.8366 GB, free: 9.547 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003672/0.06331, allocations: 3.289 MB / 0.8398 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.06457, allocations: 0.5898 MB / 0.8404 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.06563, allocations: 0.6795 MB / 0.8411 GB, free: 4.98 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.06721, allocations: 2.545 MB / 0.8435 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002834/0.07005, allocations: 2.004 MB / 0.8455 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004694/0.07474, allocations: 4.83 MB / 0.8502 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.07474, allocations: 0 / 0.8502 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.07474, allocations: 7.938 kB / 0.8502 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002195/0.07496, allocations: 0 / 0.8502 GB, free: 11.57 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.006578/0.08154, allocations: 5.292 MB / 0.8554 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.08159, allocations: 8.031 kB / 0.8554 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/0.08467, allocations: 1.499 MB / 0.8569 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.08778, allocations: 2.933 MB / 0.8597 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.08792, allocations: 316.8 kB / 0.86 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.08831, allocations: 424.3 kB / 0.8604 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005241/0.09355, allocations: 4.556 MB / 0.8649 GB, free: 11.89 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.429e-05/0.09364, allocations: 27.77 kB / 0.8649 GB, free: 11.86 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/0.09392, allocations: 184 kB / 0.8651 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000461/0.09438, allocations: 376 kB / 0.8654 GB, free: 11.31 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.09741, allocations: 1.625 MB / 0.867 GB, free: 9.66 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.1132, allocations: 21.18 MB / 0.8877 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.114, allocations: 0.5764 MB / 0.8883 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.1146, allocations: 0.5342 MB / 0.8888 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.048e-05/0.1146, allocations: 25.25 kB / 0.8888 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1147, allocations: 50.7 kB / 0.8889 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=130): time 2.925e-06/0.1147, allocations: 0 / 0.8889 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=199): time 0.01122/0.1259, allocations: 6.619 MB / 0.8953 GB, free: 12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1259, allocations: 69.41 kB / 0.8954 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.1277, allocations: 1.703 MB / 0.8971 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.96e-05/0.1278, allocations: 61.7 kB / 0.8971 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009448/0.1288, allocations: 2.121 MB / 0.8992 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.1292, allocations: 0.7166 MB / 0.8999 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004516/0.1296, allocations: 418.4 kB / 0.9003 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.1297, allocations: 476.8 kB / 0.9007 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007637/0.1305, allocations: 0.512 MB / 0.9012 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.1316, allocations: 1.331 MB / 0.9025 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.134, allocations: 2.022 MB / 0.9045 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.134, allocations: 4 kB / 0.9045 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004982/0.139, allocations: 3.319 MB / 0.9078 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.139, allocations: 19.98 kB / 0.9078 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.139, allocations: 16 kB / 0.9078 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004112/0.1431, allocations: 1.723 MB / 0.9095 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.1442, allocations: 383.3 kB / 0.9099 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/0.1642, allocations: 35.84 MB / 0.9449 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.1652, allocations: 123.9 kB / 0.945 GB, free: 6.023 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.1654, allocations: 92 kB / 0.9451 GB, free: 5.934 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0008808/0.1662, allocations: 299.9 kB / 0.9453 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/0.1666, allocations: 330.4 kB / 0.9457 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/0.1709, allocations: 2.888 MB / 0.9485 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1709, allocations: 19.94 kB / 0.9485 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/0.1709, allocations: 20 kB / 0.9485 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.1709, allocations: 7.969 kB / 0.9485 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008404/0.1793, allocations: 6.3 MB / 0.9547 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.1793, allocations: 4 kB / 0.9547 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.1798, allocations: 215.6 kB / 0.9549 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003771/0.1836, allocations: 1.638 MB / 0.9565 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/0.1836, allocations: 40 kB / 0.9565 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/0.2025, allocations: 35.76 MB / 0.9914 GB, free: 3.785 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.2025, allocations: 4 kB / 0.9914 GB, free: 3.781 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/0.2072, allocations: 3.019 MB / 0.9944 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/0.208, allocations: 0.5021 MB / 0.9949 GB, free: 48 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.2082, allocations: 43.94 kB / 0.9949 GB, free: 4 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007009/0.2089, allocations: 131.8 kB / 0.9951 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005531/0.2094, allocations: 197.5 kB / 0.9952 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.039e-05/0.2095, allocations: 56 kB / 0.9953 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0009649/0.2105, allocations: 0.9809 MB / 0.9963 GB, free: 14.63 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.2105, allocations: 0 / 0.9963 GB, free: 14.63 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002547/0.213, allocations: 1.051 MB / 0.9973 GB, free: 13.58 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 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%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.2133, allocations: 171 kB / 0.9974 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005182/0.2185, allocations: 5.422 MB / 1.003 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.2185, allocations: 0 / 1.003 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003417/0.2219, allocations: 4.57 MB / 1.007 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.2238, allocations: 0.9065 MB / 1.008 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009747/0.2336, allocations: 7.285 MB / 1.015 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.2347, allocations: 1.166 MB / 1.016 GB, free: 9.254 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000907/0.2356, allocations: 434.3 kB / 1.017 GB, free: 8.824 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.2359, allocations: 136.5 kB / 1.017 GB, free: 8.691 MB / 0.9792 GB Notification: Performance of SimCode: time 1.763e-06/0.2359, allocations: 0 / 1.017 GB, free: 8.691 MB / 0.9792 GB Notification: Performance of Templates: time 0.4469/0.6828, allocations: 63.75 MB / 1.079 GB, free: 249.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.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.314565130043775]