Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0009656/0.0009656, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009603/0.0009603, allocations: 161 kB / 23.82 MB, free: 0.75 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.9615/0.9615, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.915/1.915, 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7871 GB, free: 11.35 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.701e-05, allocations: 4.281 kB / 0.7871 GB, free: 11.34 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01697/0.01701, allocations: 20.38 MB / 0.807 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.03151, allocations: 10.13 MB / 0.8169 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/0.03491, allocations: 210.4 kB / 0.8171 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.03792, allocations: 0.8631 MB / 0.8179 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.007859/0.04578, allocations: 2.835 MB / 0.8207 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.05027, allocations: 1.833 MB / 0.8225 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01096/0.06123, allocations: 8.891 MB / 0.8312 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008/0.06923, allocations: 5.39 MB / 0.8365 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009062/0.07829, allocations: 5.688 MB / 0.842 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00609/0.08438, allocations: 3.932 MB / 0.8458 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.002012/0.08639, allocations: 0.707 MB / 0.8465 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.08882, allocations: 0.8044 MB / 0.8473 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.003282/0.09211, allocations: 3.048 MB / 0.8503 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.005723/0.09783, allocations: 2.37 MB / 0.8526 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.009113/0.1069, allocations: 5.726 MB / 0.8582 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.1069, allocations: 0 / 0.8582 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.783e-06/0.107, allocations: 7.938 kB / 0.8582 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0003529/0.1073, allocations: 0 / 0.8582 GB, free: 2.277 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01046/0.1178, allocations: 6.16 MB / 0.8642 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1178, allocations: 8.031 kB / 0.8642 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/0.1219, allocations: 1.745 MB / 0.8659 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/0.1276, allocations: 3.321 MB / 0.8692 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/0.1279, allocations: 382.3 kB / 0.8695 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.1292, allocations: 0.4963 MB / 0.87 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00917/0.1384, allocations: 5.316 MB / 0.8752 GB, free: 176 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.1385, allocations: 15.89 kB / 0.8752 GB, free: 160 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/0.1388, allocations: 216 kB / 0.8754 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006372/0.1395, allocations: 449.4 kB / 0.8759 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003851/0.1433, allocations: 1.896 MB / 0.8777 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02253/0.1658, allocations: 22.99 MB / 0.9002 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.1671, allocations: 0.9243 MB / 0.9011 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.1683, allocations: 0.7907 MB / 0.9018 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-05/0.1684, allocations: 33.98 kB / 0.9019 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.1684, allocations: 59.39 kB / 0.9019 GB, free: 4.211 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=171): time 5.761e-06/0.1684, allocations: 4 kB / 0.9019 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of matching and sorting (n=276): time 0.01743/0.1859, allocations: 9.001 MB / 0.9107 GB, free: 11.18 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.1859, allocations: 77.58 kB / 0.9108 GB, free: 11.09 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.1878, allocations: 1.857 MB / 0.9126 GB, free: 9.207 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.188, allocations: 73.7 kB / 0.9127 GB, free: 9.129 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.1892, allocations: 2.412 MB / 0.915 GB, free: 6.691 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006989/0.1899, allocations: 1.007 MB / 0.916 GB, free: 5.676 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005998/0.1905, allocations: 0.5171 MB / 0.9165 GB, free: 5.145 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1906, allocations: 476.8 kB / 0.917 GB, free: 4.676 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.1916, allocations: 0.6577 MB / 0.9176 GB, free: 4.016 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.193, allocations: 1.55 MB / 0.9191 GB, free: 2.137 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.1956, allocations: 2.447 MB / 0.9215 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.1956, allocations: 8 kB / 0.9215 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.006926/0.2026, allocations: 4.235 MB / 0.9257 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.2026, allocations: 12 kB / 0.9257 GB, free: 11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.2026, allocations: 20 kB / 0.9257 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006215/0.2088, allocations: 2.584 MB / 0.9282 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.2099, allocations: 403.4 kB / 0.9286 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.2296, allocations: 20.46 MB / 0.9486 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.2316, allocations: 167.8 kB / 0.9488 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.2318, allocations: 108 kB / 0.9489 GB, free: 2.508 MB / 0.8542 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001163/0.2329, allocations: 320 kB / 0.9492 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004991/0.2334, allocations: 410 kB / 0.9496 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005924/0.2394, allocations: 3.86 MB / 0.9533 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.2394, allocations: 28 kB / 0.9534 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.125e-05/0.2394, allocations: 28 kB / 0.9534 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.2394, allocations: 15.94 kB / 0.9534 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.251, allocations: 7.945 MB / 0.9612 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.251, allocations: 8.125 kB / 0.9612 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/0.2516, allocations: 240.5 kB / 0.9614 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005568/0.2571, allocations: 2.4 MB / 0.9637 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.2573, allocations: 56 kB / 0.9638 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.2761, allocations: 20.34 MB / 0.9837 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.2761, allocations: 11.94 kB / 0.9837 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006375/0.2825, allocations: 3.919 MB / 0.9875 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.284, allocations: 0.6463 MB / 0.9881 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.2843, allocations: 55.98 kB / 0.9882 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/0.2852, allocations: 167.8 kB / 0.9883 GB, free: 8.773 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008244/0.2861, allocations: 265.2 kB / 0.9886 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.2862, allocations: 76 kB / 0.9887 GB, free: 8.438 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001165/0.2873, allocations: 1.084 MB / 0.9897 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2873, allocations: 0 / 0.9897 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003482/0.2908, allocations: 1.371 MB / 0.9911 GB, free: 5.973 MB / 0.9011 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003458/0.2912, allocations: 167 kB / 0.9912 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006158/0.2973, allocations: 4.626 MB / 0.9957 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.2973, allocations: 4 kB / 0.9957 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004267/0.3016, allocations: 3.591 MB / 0.9992 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/0.3047, allocations: 1.006 MB / 1 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.3174, allocations: 8.875 MB / 1.009 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.3191, allocations: 1.42 MB / 1.01 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001578/0.3207, allocations: 466.6 kB / 1.011 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.321, allocations: 148.5 kB / 1.011 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of SimCode: time 2.835e-06/0.321, allocations: 0 / 1.011 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of Templates: time 0.4526/0.7736, allocations: 79.14 MB / 1.088 GB, free: 173 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 7.085772884078324]