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.0009196/0.0009196, allocations: 92.22 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.0009579/0.0009579, allocations: 169 kB / 23.02 MB, free: 1.547 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.8956/0.8956, allocations: 177.1 MB / 203.4 MB, free: 5.629 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 1.9/1.9, allocations: 429.5 MB / 0.6733 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 178] 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.383e-06/1.383e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.39e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00379/0.003804, allocations: 4.189 MB / 0.8823 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.00603, allocations: 1.541 MB / 0.8838 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.00624, allocations: 31.69 kB / 0.8838 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.006699, allocations: 175.3 kB / 0.884 GB, free: 388 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.007178, allocations: 370.2 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.007639, allocations: 341.1 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007157/0.008355, allocations: 0.9941 MB / 0.8856 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000397/0.008752, allocations: 378 kB / 0.886 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/0.009222, allocations: 0.526 MB / 0.8865 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.009612, allocations: 382.9 kB / 0.8869 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.009666, allocations: 48 kB / 0.8869 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.009846, allocations: 127.8 kB / 0.887 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.01, allocations: 259.3 kB / 0.8873 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.01018, allocations: 243.4 kB / 0.8875 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.01076, allocations: 0.6001 MB / 0.8881 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01077, allocations: 0 / 0.8881 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.21e-07/0.01077, allocations: 4 kB / 0.8881 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.01077, allocations: 0 / 0.8881 GB, free: 12.14 MB / 0.8542 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.000928/0.0117, allocations: 0.9856 MB / 0.8891 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.01173, allocations: 8.031 kB / 0.8891 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007092/0.01244, allocations: 267.9 kB / 0.8893 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/0.01314, allocations: 476.7 kB / 0.8898 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.01317, allocations: 41.36 kB / 0.8898 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.01327, allocations: 60.55 kB / 0.8899 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.01389, allocations: 0.7864 MB / 0.8906 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.01391, allocations: 12.08 kB / 0.8906 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.01394, allocations: 28.11 kB / 0.8907 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.01405, allocations: 64.94 kB / 0.8907 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.0144, allocations: 277.5 kB / 0.891 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.01672, allocations: 4.43 MB / 0.8953 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.01695, allocations: 155.8 kB / 0.8955 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.01707, allocations: 100.1 kB / 0.8956 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.01709, allocations: 8.219 kB / 0.8956 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.01711, allocations: 37.67 kB / 0.8956 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.01711, allocations: 4 kB / 0.8956 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.002744/0.01986, allocations: 1.575 MB / 0.8972 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.01988, allocations: 55.41 kB / 0.8972 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.02016, allocations: 466.4 kB / 0.8977 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.02019, allocations: 33.7 kB / 0.8977 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.02034, allocations: 399.2 kB / 0.8981 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.02042, allocations: 154.7 kB / 0.8982 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.02053, allocations: 108 kB / 0.8983 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.02066, allocations: 0.5391 MB / 0.8988 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.02081, allocations: 105.2 kB / 0.8989 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.02104, allocations: 343.3 kB / 0.8993 GB, free: 72 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.02146, allocations: 482.2 kB / 0.8997 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.02146, allocations: 0 / 0.8997 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007856/0.02224, allocations: 0.6404 MB / 0.9004 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.02226, allocations: 10.34 kB / 0.9004 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.02226, allocations: 4.656 kB / 0.9004 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.02284, allocations: 226.8 kB / 0.9006 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.02309, allocations: 119.8 kB / 0.9007 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.02595, allocations: 5.67 MB / 0.9062 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.02615, allocations: 31.97 kB / 0.9063 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.02617, allocations: 23.94 kB / 0.9063 GB, free: 8.387 MB / 0.8698 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.0001269/0.0263, allocations: 196.4 kB / 0.9065 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.02636, allocations: 67.62 kB / 0.9065 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.02703, allocations: 0.4889 MB / 0.907 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02703, allocations: 8 kB / 0.907 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.02703, allocations: 0 / 0.907 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02704, allocations: 4.172 kB / 0.907 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.02816, allocations: 1.079 MB / 0.9081 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02816, allocations: 0 / 0.9081 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.02833, allocations: 67.89 kB / 0.9082 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/0.02885, allocations: 219.1 kB / 0.9084 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.02887, allocations: 15.98 kB / 0.9084 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.03154, allocations: 5.655 MB / 0.9139 GB, free: 104 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.03154, allocations: 7.938 kB / 0.9139 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.03233, allocations: 0.7379 MB / 0.9146 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.03244, allocations: 95.61 kB / 0.9147 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.03247, allocations: 19.98 kB / 0.9147 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.03263, allocations: 23.97 kB / 0.9148 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.0327, allocations: 39.88 kB / 0.9148 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.03272, allocations: 12 kB / 0.9148 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001713/0.03289, allocations: 298.8 kB / 0.9151 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.03289, allocations: 0 / 0.9151 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003806/0.03327, allocations: 168 kB / 0.9153 GB, free: 14.65 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.179e-05/0.03336, allocations: 123.1 kB / 0.9154 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008124/0.03417, allocations: 0.9243 MB / 0.9163 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.03418, allocations: 0 / 0.9163 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.03465, allocations: 0.744 MB / 0.917 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.03513, allocations: 178.7 kB / 0.9172 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.03672, allocations: 1.15 MB / 0.9183 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.03684, allocations: 178.5 kB / 0.9185 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000189/0.03703, allocations: 84.77 kB / 0.9185 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.0371, allocations: 40.5 kB / 0.9186 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/0.0371, allocations: 0 / 0.9186 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of Templates: time 0.01098/0.04809, allocations: 9.69 MB / 0.928 GB, free: 1.543 MB / 0.8855 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.152139419224113]