Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001047/0.001047, allocations: 83.59 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.001682/0.001682, allocations: 169 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.9692/0.9692, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.827/1.827, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.545e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01665/0.01668, allocations: 18.85 MB / 0.83 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.02739, allocations: 9.505 MB / 0.8392 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.02882, allocations: 194.5 kB / 0.8394 GB, free: 5.117 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.03011, allocations: 0.7754 MB / 0.8402 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.03355, allocations: 2.6 MB / 0.8427 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.03555, allocations: 1.579 MB / 0.8443 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005452/0.041, allocations: 7.701 MB / 0.8518 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.04529, allocations: 4.585 MB / 0.8563 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.04968, allocations: 4.908 MB / 0.8611 GB, free: 14.79 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/0.05314, allocations: 3.281 MB / 0.8643 GB, free: 11.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008912/0.05403, allocations: 0.5859 MB / 0.8648 GB, free: 10.91 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009631/0.05499, allocations: 0.6911 MB / 0.8655 GB, free: 10.22 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.05653, allocations: 2.541 MB / 0.868 GB, free: 7.672 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001796/0.05833, allocations: 2.004 MB / 0.8699 GB, free: 5.664 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003734/0.06206, allocations: 4.838 MB / 0.8747 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.06207, allocations: 0 / 0.8747 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.06207, allocations: 3.938 kB / 0.8747 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.912e-05/0.06212, allocations: 0 / 0.8747 GB, free: 0.8086 MB / 0.823 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.004803/0.06692, allocations: 5.288 MB / 0.8798 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.06696, allocations: 12.03 kB / 0.8799 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/0.06974, allocations: 1.492 MB / 0.8813 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.07252, allocations: 2.941 MB / 0.8842 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.07268, allocations: 312.8 kB / 0.8845 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/0.07306, allocations: 436.3 kB / 0.8849 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004566/0.07763, allocations: 4.548 MB / 0.8893 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.823e-05/0.07771, allocations: 27.75 kB / 0.8894 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/0.07797, allocations: 184 kB / 0.8895 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000446/0.07842, allocations: 372 kB / 0.8899 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.08139, allocations: 1.633 MB / 0.8915 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.09607, allocations: 21.16 MB / 0.9122 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.09686, allocations: 0.5724 MB / 0.9127 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.09747, allocations: 0.5304 MB / 0.9132 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.09754, allocations: 21.31 kB / 0.9133 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.09758, allocations: 58.64 kB / 0.9133 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=130): time 4.028e-06/0.09758, allocations: 0 / 0.9133 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of matching and sorting (n=199): time 0.01099/0.1086, allocations: 6.604 MB / 0.9198 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1086, allocations: 73.41 kB / 0.9198 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.1101, allocations: 1.696 MB / 0.9215 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.1102, allocations: 61.7 kB / 0.9215 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.1112, allocations: 2.125 MB / 0.9236 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/0.1117, allocations: 0.7205 MB / 0.9243 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.1122, allocations: 414.4 kB / 0.9247 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1123, allocations: 476.8 kB / 0.9252 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.1131, allocations: 0.5159 MB / 0.9257 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.1143, allocations: 1.331 MB / 0.927 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.1165, allocations: 2.026 MB / 0.929 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.1166, allocations: 4 kB / 0.929 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005717/0.1223, allocations: 3.315 MB / 0.9322 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.1223, allocations: 15.94 kB / 0.9322 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.1224, allocations: 16 kB / 0.9322 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/0.1272, allocations: 1.739 MB / 0.9339 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.1283, allocations: 383.3 kB / 0.9343 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.1488, allocations: 35.82 MB / 0.9693 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.1503, allocations: 127.9 kB / 0.9694 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.1505, allocations: 92 kB / 0.9695 GB, free: 11.18 MB / 0.9323 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.0009763/0.1514, allocations: 296.6 kB / 0.9698 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.1519, allocations: 330.4 kB / 0.9701 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.1563, allocations: 2.892 MB / 0.9729 GB, free: 7.574 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.1563, allocations: 23.94 kB / 0.9729 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.611e-05/0.1564, allocations: 20 kB / 0.9729 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.1564, allocations: 11.95 kB / 0.973 GB, free: 7.52 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009872/0.1663, allocations: 6.3 MB / 0.9791 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.1663, allocations: 4 kB / 0.9791 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.1668, allocations: 219.7 kB / 0.9793 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003847/0.1706, allocations: 1.638 MB / 0.9809 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.1707, allocations: 40 kB / 0.981 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/0.1908, allocations: 35.77 MB / 1.016 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1908, allocations: 4 kB / 1.016 GB, free: 9.016 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005186/0.196, allocations: 3.011 MB / 1.019 GB, free: 5.793 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008193/0.1968, allocations: 0.506 MB / 1.019 GB, free: 5.285 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.1971, allocations: 47.94 kB / 1.019 GB, free: 5.238 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.1978, allocations: 124 kB / 1.019 GB, free: 5.117 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/0.1983, allocations: 201.5 kB / 1.02 GB, free: 4.922 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/0.1984, allocations: 64 kB / 1.02 GB, free: 4.859 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001002/0.1994, allocations: 0.977 MB / 1.021 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1994, allocations: 4 kB / 1.021 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002607/0.202, allocations: 1.051 MB / 1.022 GB, free: 2.812 MB / 0.9792 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.0002541/0.2022, allocations: 167.6 kB / 1.022 GB, free: 2.641 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005286/0.2075, allocations: 5.411 MB / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.2075, allocations: 256 / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003761/0.2113, allocations: 4.569 MB / 1.032 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.2137, allocations: 0.9171 MB / 1.033 GB, free: 7.129 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009314/0.223, allocations: 7.281 MB / 1.04 GB, free: 15.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.2241, allocations: 1.17 MB / 1.041 GB, free: 14.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001049/0.2251, allocations: 430.3 kB / 1.041 GB, free: 14.07 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.2254, allocations: 140.5 kB / 1.041 GB, free: 13.94 MB / 1.01 GB Notification: Performance of SimCode: time 2.094e-06/0.2254, allocations: 0 / 1.041 GB, free: 13.94 MB / 1.01 GB Notification: Performance of Templates: time 0.3921/0.6174, allocations: 63.75 MB / 1.104 GB, free: 227.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.770266668871045]