Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001504/0.001504, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001159/0.001159, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.063/1.063, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.144/2.144, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.828e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01076/0.01078, allocations: 13.37 MB / 0.8913 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005695/0.01648, allocations: 3.869 MB / 0.895 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008125/0.01729, allocations: 123.1 kB / 0.8952 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009768/0.01827, allocations: 0.5468 MB / 0.8957 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.02023, allocations: 1.496 MB / 0.8971 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.02151, allocations: 1.115 MB / 0.8982 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004215/0.02572, allocations: 5.954 MB / 0.9041 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00287/0.02859, allocations: 3.171 MB / 0.9071 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.03163, allocations: 3.423 MB / 0.9105 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.03447, allocations: 2.927 MB / 0.9133 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.03488, allocations: 452 kB / 0.9138 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.03563, allocations: 0.5895 MB / 0.9144 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.03691, allocations: 2.222 MB / 0.9165 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.03835, allocations: 1.497 MB / 0.918 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.04111, allocations: 3.876 MB / 0.9218 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.04112, allocations: 0 / 0.9218 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.673e-06/0.04112, allocations: 7.938 kB / 0.9218 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.413e-05/0.04115, allocations: 4 kB / 0.9218 GB, free: 9.48 MB / 0.8855 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.004033/0.04519, allocations: 4.004 MB / 0.9257 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.04523, allocations: 12.03 kB / 0.9257 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.04833, allocations: 1.594 MB / 0.9273 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.05051, allocations: 2.192 MB / 0.9294 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.05063, allocations: 242.3 kB / 0.9296 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/0.05097, allocations: 319.9 kB / 0.9299 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00415/0.05512, allocations: 3.594 MB / 0.9334 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.617e-05/0.05517, allocations: 15.88 kB / 0.9335 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.0554, allocations: 139.9 kB / 0.9336 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003037/0.0557, allocations: 410.3 kB / 0.934 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.05799, allocations: 1.357 MB / 0.9353 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.07229, allocations: 19.97 MB / 0.9548 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.073, allocations: 483 kB / 0.9553 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/0.07366, allocations: 0.5258 MB / 0.9558 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/0.07374, allocations: 21 kB / 0.9558 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.07377, allocations: 42.39 kB / 0.9558 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 2.735e-06/0.07377, allocations: 0 / 0.9558 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of matching and sorting (n=179): time 0.01791/0.09168, allocations: 9.539 MB / 0.9652 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.09173, allocations: 73.41 kB / 0.9652 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.09283, allocations: 1.242 MB / 0.9664 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.09294, allocations: 57.7 kB / 0.9665 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.09401, allocations: 1.644 MB / 0.9681 GB, free: 8.824 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.09441, allocations: 0.6507 MB / 0.9687 GB, free: 8.168 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/0.09486, allocations: 365.2 kB / 0.9691 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.09497, allocations: 480.7 kB / 0.9696 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007811/0.09575, allocations: 0.4998 MB / 0.97 GB, free: 6.824 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.09691, allocations: 1.301 MB / 0.9713 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.09902, allocations: 1.979 MB / 0.9732 GB, free: 2.871 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.09902, allocations: 4 kB / 0.9732 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008285/0.1073, allocations: 4.795 MB / 0.9779 GB, free: 14.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.1073, allocations: 15.98 kB / 0.9779 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.1074, allocations: 28.16 kB / 0.978 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007924/0.1153, allocations: 3.248 MB / 0.9811 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.1159, allocations: 307.5 kB / 0.9814 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/0.1353, allocations: 18.4 MB / 0.9994 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009669/0.1363, allocations: 151.8 kB / 0.9996 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.1364, allocations: 80 kB / 0.9996 GB, free: 7.062 MB / 0.9636 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.0007956/0.1372, allocations: 280 kB / 0.9999 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.1375, allocations: 262.7 kB / 1 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008089/0.1456, allocations: 4.617 MB / 1.005 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.1456, allocations: 19.94 kB / 1.005 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.504e-05/0.1457, allocations: 24 kB / 1.005 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.1457, allocations: 7.969 kB / 1.005 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.158, allocations: 7.655 MB / 1.012 GB, free: 9.953 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.158, allocations: 4 kB / 1.012 GB, free: 9.949 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.1584, allocations: 171.7 kB / 1.012 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007635/0.166, allocations: 3.14 MB / 1.015 GB, free: 6.621 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.1661, allocations: 32 kB / 1.015 GB, free: 6.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/0.1856, allocations: 18.35 MB / 1.033 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.1856, allocations: 11.94 kB / 1.033 GB, free: 3.488 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008295/0.1939, allocations: 4.704 MB / 1.038 GB, free: 14.61 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007628/0.1947, allocations: 0.5024 MB / 1.038 GB, free: 14.11 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.1949, allocations: 36 kB / 1.038 GB, free: 14.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/0.1956, allocations: 143.7 kB / 1.039 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005929/0.1961, allocations: 172.8 kB / 1.039 GB, free: 13.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.411e-05/0.1962, allocations: 56 kB / 1.039 GB, free: 13.71 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006586/0.1969, allocations: 0.7141 MB / 1.04 GB, free: 13 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1969, allocations: 0 / 1.04 GB, free: 13 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002558/0.1995, allocations: 1.117 MB / 1.041 GB, free: 11.88 MB / 1.01 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.0002563/0.1997, allocations: 151 kB / 1.041 GB, free: 11.72 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005968/0.2057, allocations: 4.248 MB / 1.045 GB, free: 7.367 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2057, allocations: 0 / 1.045 GB, free: 7.367 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004127/0.2098, allocations: 3.379 MB / 1.048 GB, free: 3.879 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.2111, allocations: 0.5116 MB / 1.049 GB, free: 3.379 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.402/0.6131, allocations: 5.971 MB / 1.055 GB, free: 181.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008418/0.614, allocations: 1.006 MB / 1.056 GB, free: 181.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007011/0.6147, allocations: 313.7 kB / 1.056 GB, free: 181.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.6148, allocations: 93.84 kB / 1.056 GB, free: 181.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.893e-06/0.6148, allocations: 0 / 1.056 GB, free: 181.5 MB / 1.01 GB Notification: Performance of Templates: time 0.0751/0.6899, allocations: 66.68 MB / 1.121 GB, free: 165.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.945063546765596]