Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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.0009242/0.0009242, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009036/0.0009036, allocations: 169 kB / 23.27 MB, free: 1.223 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.9039/0.9039, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.235/2.235, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.862e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005481/0.0055, allocations: 4.123 MB / 0.8938 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.008148, allocations: 1.524 MB / 0.8953 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.008389, allocations: 35.69 kB / 0.8953 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.008953, allocations: 170.7 kB / 0.8955 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005952/0.009548, allocations: 373.6 kB / 0.8958 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.0101, allocations: 339.2 kB / 0.8961 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009054/0.011, allocations: 0.9941 MB / 0.8971 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004857/0.01149, allocations: 374.5 kB / 0.8975 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.01198, allocations: 0.526 MB / 0.898 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.01233, allocations: 386.9 kB / 0.8984 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/0.01239, allocations: 52 kB / 0.8984 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.01255, allocations: 131.8 kB / 0.8985 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.0127, allocations: 263.2 kB / 0.8988 GB, free: 476 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.01286, allocations: 235.4 kB / 0.899 GB, free: 240 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.0133, allocations: 0.5879 MB / 0.8996 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.0133, allocations: 4 kB / 0.8996 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.81e-07/0.0133, allocations: 0 / 0.8996 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.01331, allocations: 0 / 0.8996 GB, free: 15.64 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0008418/0.01415, allocations: 0.9893 MB / 0.9006 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.01418, allocations: 12.62 kB / 0.9006 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/0.0148, allocations: 248 kB / 0.9008 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.01522, allocations: 476.6 kB / 0.9013 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.01524, allocations: 37.36 kB / 0.9013 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-05/0.01533, allocations: 56.52 kB / 0.9013 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.0161, allocations: 0.7511 MB / 0.9021 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.01612, allocations: 8.172 kB / 0.9021 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.01615, allocations: 32.11 kB / 0.9021 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.135e-05/0.01625, allocations: 60.95 kB / 0.9022 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.01648, allocations: 226.4 kB / 0.9024 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.0186, allocations: 4.298 MB / 0.9066 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.01876, allocations: 123.8 kB / 0.9067 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.01885, allocations: 88.75 kB / 0.9068 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.01887, allocations: 4.281 kB / 0.9068 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.0189, allocations: 49.55 kB / 0.9068 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.0189, allocations: 0 / 0.9068 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.002016/0.02091, allocations: 1.353 MB / 0.9082 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.02094, allocations: 55.41 kB / 0.9082 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.02142, allocations: 458.2 kB / 0.9087 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.02145, allocations: 33.7 kB / 0.9087 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.02161, allocations: 407.1 kB / 0.9091 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.02168, allocations: 154.7 kB / 0.9092 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.02179, allocations: 103.9 kB / 0.9093 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.02193, allocations: 0.5429 MB / 0.9099 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.02202, allocations: 77.25 kB / 0.9099 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.02221, allocations: 319.2 kB / 0.9102 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.02252, allocations: 442.1 kB / 0.9107 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02252, allocations: 7.938 kB / 0.9107 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006453/0.02317, allocations: 0.5863 MB / 0.9112 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.02318, allocations: 4 kB / 0.9112 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.02319, allocations: 11.98 kB / 0.9112 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005119/0.0237, allocations: 226.8 kB / 0.9115 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.02391, allocations: 91.84 kB / 0.9115 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.02657, allocations: 5.559 MB / 0.917 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.02672, allocations: 24.05 kB / 0.917 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.02674, allocations: 16 kB / 0.917 GB, free: 12.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0001199/0.02686, allocations: 192.4 kB / 0.9172 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.02693, allocations: 75.55 kB / 0.9173 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.02746, allocations: 460.5 kB / 0.9177 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02746, allocations: 4 kB / 0.9177 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02747, allocations: 7.984 kB / 0.9177 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02747, allocations: 0 / 0.9177 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/0.0284, allocations: 0.9286 MB / 0.9186 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.0284, allocations: 4 kB / 0.9186 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.02854, allocations: 51.92 kB / 0.9187 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.02899, allocations: 223 kB / 0.9189 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.02901, allocations: 8 kB / 0.9189 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.03154, allocations: 5.535 MB / 0.9243 GB, free: 4.762 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.03154, allocations: 4 kB / 0.9243 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.03219, allocations: 0.7028 MB / 0.925 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.03229, allocations: 79.62 kB / 0.9251 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.03232, allocations: 16.17 kB / 0.9251 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.03244, allocations: 12 kB / 0.9251 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.03249, allocations: 35.91 kB / 0.9251 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.03251, allocations: 16 kB / 0.9252 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001269/0.03263, allocations: 282.7 kB / 0.9254 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.03263, allocations: 7.938 kB / 0.9254 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000359/0.03299, allocations: 172 kB / 0.9256 GB, free: 3.383 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.783e-05/0.03309, allocations: 115.1 kB / 0.9257 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006873/0.03378, allocations: 0.8764 MB / 0.9266 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03378, allocations: 0 / 0.9266 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.0342, allocations: 0.7172 MB / 0.9273 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.03467, allocations: 169.5 kB / 0.9274 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.03587, allocations: 1.156 MB / 0.9285 GB, free: 180 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.03598, allocations: 174.5 kB / 0.9287 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.03612, allocations: 64.81 kB / 0.9288 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.03634, allocations: 206.1 kB / 0.929 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of SimCode: time 7.61e-07/0.03634, allocations: 0 / 0.929 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of Templates: time 0.01127/0.04762, allocations: 9.812 MB / 0.9386 GB, free: 6.105 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_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: 5.099754781927913]