Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.000982/0.000982, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009896/0.0009896, allocations: 165 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.924/0.924, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.733/1.733, allocations: 359 MB / 0.6052 GB, free: 11.01 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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.808e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01099/0.01101, allocations: 13.36 MB / 0.8002 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006409/0.01742, allocations: 3.875 MB / 0.804 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.01876, allocations: 127.6 kB / 0.8041 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.0199, allocations: 0.5482 MB / 0.8046 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.02225, allocations: 1.5 MB / 0.8061 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.0242, allocations: 1.103 MB / 0.8072 GB, free: 7.891 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.005374/0.02957, allocations: 5.951 MB / 0.813 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004053/0.03362, allocations: 3.166 MB / 0.8161 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005106/0.03873, allocations: 3.432 MB / 0.8194 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.04244, allocations: 2.921 MB / 0.8223 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0009931/0.04344, allocations: 456 kB / 0.8227 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.04474, allocations: 0.5895 MB / 0.8233 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.04671, allocations: 2.215 MB / 0.8254 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.04937, allocations: 1.501 MB / 0.8269 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004593/0.05397, allocations: 3.876 MB / 0.8307 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.05397, allocations: 0.7812 kB / 0.8307 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.134e-06/0.05397, allocations: 0 / 0.8307 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001884/0.05416, allocations: 0.5 kB / 0.8307 GB, free: 15.67 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.00493/0.05909, allocations: 4.01 MB / 0.8346 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.05914, allocations: 12.03 kB / 0.8346 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/0.06256, allocations: 1.598 MB / 0.8362 GB, free: 10 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.06539, allocations: 2.188 MB / 0.8383 GB, free: 7.762 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.06552, allocations: 246.3 kB / 0.8385 GB, free: 7.52 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.06587, allocations: 319.9 kB / 0.8389 GB, free: 7.207 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/0.07076, allocations: 3.598 MB / 0.8424 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/0.07082, allocations: 15.89 kB / 0.8424 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.07105, allocations: 136 kB / 0.8425 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/0.07136, allocations: 410.2 kB / 0.8429 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.07395, allocations: 1.361 MB / 0.8442 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.09063, allocations: 19.96 MB / 0.8637 GB, free: 12.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/0.09142, allocations: 487.1 kB / 0.8642 GB, free: 12.24 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/0.09209, allocations: 0.5236 MB / 0.8647 GB, free: 11.72 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-05/0.09217, allocations: 25 kB / 0.8647 GB, free: 11.69 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.0922, allocations: 46.39 kB / 0.8648 GB, free: 11.64 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 4.528e-06/0.09221, allocations: 3.938 kB / 0.8648 GB, free: 11.63 MB / 0.823 GB Notification: Performance of matching and sorting (n=179): time 0.0184/0.1106, allocations: 9.532 MB / 0.8741 GB, free: 2.078 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1107, allocations: 73.41 kB / 0.8742 GB, free: 1.996 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.1118, allocations: 1.246 MB / 0.8754 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.1119, allocations: 57.64 kB / 0.8754 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007851/0.1127, allocations: 1.644 MB / 0.877 GB, free: 15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.1131, allocations: 0.6469 MB / 0.8777 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005308/0.1137, allocations: 369.1 kB / 0.878 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1138, allocations: 480.7 kB / 0.8785 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008075/0.1146, allocations: 0.5037 MB / 0.879 GB, free: 13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.1157, allocations: 1.297 MB / 0.8802 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.1178, allocations: 1.975 MB / 0.8822 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.1178, allocations: 4 kB / 0.8822 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008105/0.1259, allocations: 4.81 MB / 0.8869 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.1259, allocations: 12 kB / 0.8869 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.1259, allocations: 16 kB / 0.8869 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007823/0.1338, allocations: 3.256 MB / 0.8901 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.1345, allocations: 303.5 kB / 0.8904 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/0.1536, allocations: 18.4 MB / 0.9083 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.1549, allocations: 151.8 kB / 0.9085 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.155, allocations: 87.98 kB / 0.9086 GB, free: 13.23 MB / 0.8698 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000847/0.1559, allocations: 280 kB / 0.9088 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.1562, allocations: 254.8 kB / 0.9091 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007611/0.1638, allocations: 4.616 MB / 0.9136 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.1638, allocations: 23.94 kB / 0.9136 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.14e-05/0.1638, allocations: 28 kB / 0.9136 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.1639, allocations: 11.95 kB / 0.9136 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.1755, allocations: 7.643 MB / 0.9211 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.1755, allocations: 4 kB / 0.9211 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.176, allocations: 167.8 kB / 0.9213 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007908/0.1839, allocations: 3.152 MB / 0.9243 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.1841, allocations: 36 kB / 0.9244 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01954/0.2036, allocations: 18.35 MB / 0.9423 GB, free: 9.676 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.2036, allocations: 11.94 kB / 0.9423 GB, free: 9.664 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007858/0.2115, allocations: 4.712 MB / 0.9469 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.2127, allocations: 0.4946 MB / 0.9474 GB, free: 4.285 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.2129, allocations: 43.98 kB / 0.9474 GB, free: 4.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.2136, allocations: 131.8 kB / 0.9476 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006412/0.2142, allocations: 180.7 kB / 0.9477 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/0.2143, allocations: 55.98 kB / 0.9478 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006589/0.215, allocations: 0.7141 MB / 0.9485 GB, free: 3.172 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.11e-07/0.215, allocations: 0 / 0.9485 GB, free: 3.172 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002605/0.2176, allocations: 1.113 MB / 0.9496 GB, free: 2.059 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 (80): * Single equations (assignments): 74 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002556/0.2178, allocations: 155 kB / 0.9497 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005984/0.2238, allocations: 4.241 MB / 0.9539 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.2238, allocations: 256 / 0.9539 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/0.2285, allocations: 3.375 MB / 0.9572 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.2302, allocations: 0.5141 MB / 0.9577 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008209/0.2384, allocations: 5.979 MB / 0.9635 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009554/0.2393, allocations: 1.003 MB / 0.9645 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006975/0.24, allocations: 319.6 kB / 0.9648 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.2402, allocations: 96.5 kB / 0.9649 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of SimCode: time 2.896e-06/0.2402, allocations: 0 / 0.9649 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of Templates: time 0.07198/0.3122, allocations: 66.68 MB / 1.03 GB, free: 15.8 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.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.13521997211501]