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.001374/0.001374, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001535/0.001535, allocations: 181 kB / 23.36 MB, free: 1.133 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.491/2.491, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.583e-06/1.583e-06, allocations: 0.9844 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.239e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004055/0.004067, allocations: 4.19 MB / 0.8427 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.006056, allocations: 1.555 MB / 0.8442 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.006231, allocations: 35.69 kB / 0.8443 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.006603, allocations: 178.7 kB / 0.8444 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.007018, allocations: 369.6 kB / 0.8448 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.007459, allocations: 343.2 kB / 0.8451 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.008213, allocations: 0.998 MB / 0.8461 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.008552, allocations: 407.1 kB / 0.8465 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.008964, allocations: 0.5183 MB / 0.847 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.009308, allocations: 370.9 kB / 0.8473 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.009357, allocations: 48 kB / 0.8474 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.00952, allocations: 139.7 kB / 0.8475 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.009668, allocations: 259.2 kB / 0.8478 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.00982, allocations: 239.4 kB / 0.848 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.01025, allocations: 0.5955 MB / 0.8486 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.01026, allocations: 0 / 0.8486 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.92e-07/0.01026, allocations: 0 / 0.8486 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.506e-05/0.01028, allocations: 0 / 0.8486 GB, free: 3.934 MB / 0.8073 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.000747/0.01103, allocations: 0.8529 MB / 0.8494 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.413e-05/0.01105, allocations: 8.625 kB / 0.8494 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006893/0.01174, allocations: 236.3 kB / 0.8496 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.01216, allocations: 439.3 kB / 0.8501 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.01218, allocations: 37.38 kB / 0.8501 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.01227, allocations: 60.53 kB / 0.8502 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.01275, allocations: 0.6965 MB / 0.8508 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.01277, allocations: 8.078 kB / 0.8508 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.0128, allocations: 28.11 kB / 0.8509 GB, free: 1.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.971e-05/0.01289, allocations: 64.95 kB / 0.8509 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.01311, allocations: 202.6 kB / 0.8511 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.01488, allocations: 3.023 MB / 0.8541 GB, free: 14.01 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.01504, allocations: 164.9 kB / 0.8542 GB, free: 13.84 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.01512, allocations: 65.95 kB / 0.8543 GB, free: 13.77 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.01514, allocations: 8.281 kB / 0.8543 GB, free: 13.77 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.01516, allocations: 42.83 kB / 0.8543 GB, free: 13.71 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 1.292e-06/0.01516, allocations: 0 / 0.8543 GB, free: 13.71 MB / 0.823 GB Notification: Performance of matching and sorting (n=34): time 0.001547/0.01671, allocations: 1 MB / 0.8553 GB, free: 12.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.01673, allocations: 59.41 kB / 0.8554 GB, free: 12.61 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.01694, allocations: 395 kB / 0.8558 GB, free: 12.21 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.01696, allocations: 29.7 kB / 0.8558 GB, free: 12.17 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01707, allocations: 321.3 kB / 0.8561 GB, free: 11.85 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.01713, allocations: 126.9 kB / 0.8562 GB, free: 11.73 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/0.01722, allocations: 90.27 kB / 0.8563 GB, free: 11.63 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.01732, allocations: 370.6 kB / 0.8566 GB, free: 11.26 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.0174, allocations: 64.11 kB / 0.8567 GB, free: 11.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.01753, allocations: 227.2 kB / 0.8569 GB, free: 10.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.01779, allocations: 347.3 kB / 0.8573 GB, free: 10.49 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.01779, allocations: 4 kB / 0.8573 GB, free: 10.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000466/0.01826, allocations: 423.5 kB / 0.8577 GB, free: 10.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01827, allocations: 10.19 kB / 0.8577 GB, free: 10.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01828, allocations: 4 kB / 0.8577 GB, free: 10.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.01864, allocations: 147.2 kB / 0.8578 GB, free: 9.891 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.01889, allocations: 115 kB / 0.8579 GB, free: 9.781 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.02033, allocations: 2.654 MB / 0.8605 GB, free: 6.934 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.02048, allocations: 16 kB / 0.8605 GB, free: 6.918 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.0205, allocations: 16 kB / 0.8606 GB, free: 6.902 MB / 0.823 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.02061, allocations: 144.4 kB / 0.8607 GB, free: 6.75 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.02066, allocations: 47.98 kB / 0.8607 GB, free: 6.703 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.02105, allocations: 326.4 kB / 0.861 GB, free: 6.367 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.02105, allocations: 4 kB / 0.8611 GB, free: 6.363 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.02105, allocations: 3.984 kB / 0.8611 GB, free: 6.359 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02106, allocations: 3.938 kB / 0.8611 GB, free: 6.355 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.02175, allocations: 0.6929 MB / 0.8617 GB, free: 5.613 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.02175, allocations: 0 / 0.8617 GB, free: 5.613 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.02192, allocations: 55.91 kB / 0.8618 GB, free: 5.559 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.02226, allocations: 159.4 kB / 0.8619 GB, free: 5.395 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.02227, allocations: 4 kB / 0.8619 GB, free: 5.391 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.02361, allocations: 2.632 MB / 0.8645 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.02361, allocations: 7.984 kB / 0.8645 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.0241, allocations: 0.5234 MB / 0.865 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.02418, allocations: 75.61 kB / 0.8651 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.02422, allocations: 12.19 kB / 0.8651 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.02434, allocations: 8 kB / 0.8651 GB, free: 1.895 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.02438, allocations: 31.89 kB / 0.8652 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.0244, allocations: 7.984 kB / 0.8652 GB, free: 1.855 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001021/0.0245, allocations: 168.4 kB / 0.8653 GB, free: 1.688 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.0245, allocations: 4.031 kB / 0.8653 GB, free: 1.684 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003024/0.0248, allocations: 156 kB / 0.8655 GB, free: 1.531 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.806e-05/0.02488, allocations: 88.36 kB / 0.8656 GB, free: 1.438 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.02535, allocations: 0.5116 MB / 0.8661 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.02536, allocations: 12 kB / 0.8661 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.02564, allocations: 395.2 kB / 0.8664 GB, free: 484 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.02603, allocations: 164.5 kB / 0.8666 GB, free: 324 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.02718, allocations: 1.061 MB / 0.8676 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.908e-05/0.02728, allocations: 178.3 kB / 0.8678 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.02741, allocations: 60.7 kB / 0.8679 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.02765, allocations: 177.2 kB / 0.868 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/0.02765, allocations: 0 / 0.868 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of Templates: time 0.009892/0.03754, allocations: 8.589 MB / 0.8764 GB, free: 6.383 MB / 0.8386 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 -s gbode -gbm=radauIIA3 -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.372320495080203]