Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.001341/0.001341, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.00153/0.00153, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9532/0.9532, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.8/1.8, allocations: 359 MB / 0.6052 GB, free: 10.98 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.OnePhase.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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.597e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003828/0.003844, allocations: 4.106 MB / 0.7911 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.005758, allocations: 1.524 MB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.005958, allocations: 31.69 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.006442, allocations: 174.7 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.006899, allocations: 368.4 kB / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.007302, allocations: 312 kB / 0.7934 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006906/0.007993, allocations: 0.9991 MB / 0.7944 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.008403, allocations: 374.5 kB / 0.7948 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.008878, allocations: 0.519 MB / 0.7953 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/0.009234, allocations: 371 kB / 0.7956 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.009289, allocations: 48.59 kB / 0.7957 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.00947, allocations: 128.9 kB / 0.7958 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.009644, allocations: 263.2 kB / 0.7961 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.00982, allocations: 243.4 kB / 0.7963 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004979/0.01032, allocations: 0.5963 MB / 0.7969 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01032, allocations: 0 / 0.7969 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01032, allocations: 1.188 kB / 0.7969 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.01033, allocations: 4 kB / 0.7969 GB, free: 2.438 MB / 0.7448 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.0009326/0.01126, allocations: 0.9878 MB / 0.7978 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.01129, allocations: 8.031 kB / 0.7978 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009089/0.0122, allocations: 285.8 kB / 0.7981 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.01272, allocations: 492.5 kB / 0.7986 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.01275, allocations: 37.38 kB / 0.7986 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.01285, allocations: 56.55 kB / 0.7987 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/0.01349, allocations: 0.7913 MB / 0.7994 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.01351, allocations: 4.125 kB / 0.7995 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.01355, allocations: 24.12 kB / 0.7995 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.01366, allocations: 73.78 kB / 0.7995 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.01403, allocations: 275.7 kB / 0.7998 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.01649, allocations: 4.41 MB / 0.8041 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.01674, allocations: 143.8 kB / 0.8043 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.01687, allocations: 96.2 kB / 0.8043 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.01689, allocations: 12.22 kB / 0.8044 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.01692, allocations: 38.61 kB / 0.8044 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.01692, allocations: 3.938 kB / 0.8044 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.002645/0.01956, allocations: 1.546 MB / 0.8059 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.01959, allocations: 55.41 kB / 0.806 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.02003, allocations: 458.4 kB / 0.8064 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.02011, allocations: 33.7 kB / 0.8064 GB, free: 8.195 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.0203, allocations: 403.1 kB / 0.8068 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.02041, allocations: 154.7 kB / 0.807 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.02053, allocations: 112 kB / 0.8071 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.02069, allocations: 0.5429 MB / 0.8076 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.02085, allocations: 97.25 kB / 0.8077 GB, free: 6.871 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.02111, allocations: 351.3 kB / 0.808 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.02156, allocations: 482.2 kB / 0.8085 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.02156, allocations: 0 / 0.8085 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009197/0.02248, allocations: 0.641 MB / 0.8091 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.0225, allocations: 8 kB / 0.8091 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.02251, allocations: 8.062 kB / 0.8091 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.02313, allocations: 218.8 kB / 0.8093 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.02342, allocations: 115.8 kB / 0.8094 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.02644, allocations: 5.646 MB / 0.815 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.02675, allocations: 35.97 kB / 0.815 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.02678, allocations: 23.94 kB / 0.815 GB, free: 14.76 MB / 0.7761 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.0001877/0.02697, allocations: 196.4 kB / 0.8152 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.02704, allocations: 63.67 kB / 0.8153 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007366/0.02778, allocations: 0.4887 MB / 0.8157 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.02778, allocations: 4 kB / 0.8157 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.02779, allocations: 4 kB / 0.8157 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02779, allocations: 4 kB / 0.8158 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.02908, allocations: 1.056 MB / 0.8168 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.02909, allocations: 7.984 kB / 0.8168 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.02928, allocations: 67.89 kB / 0.8169 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/0.02981, allocations: 215.1 kB / 0.8171 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.02983, allocations: 12 kB / 0.8171 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.03261, allocations: 5.643 MB / 0.8226 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.03261, allocations: 4 kB / 0.8226 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008875/0.0335, allocations: 0.7537 MB / 0.8233 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.03364, allocations: 83.62 kB / 0.8234 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.03367, allocations: 11.94 kB / 0.8234 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.03384, allocations: 27.97 kB / 0.8234 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.0339, allocations: 39.88 kB / 0.8235 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.03392, allocations: 12 kB / 0.8235 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001877/0.03411, allocations: 291 kB / 0.8238 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.03411, allocations: 0 / 0.8238 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004804/0.03459, allocations: 176 kB / 0.8239 GB, free: 5.07 MB / 0.7761 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 0.0001181/0.03471, allocations: 107.2 kB / 0.824 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008839/0.03559, allocations: 0.9245 MB / 0.8249 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.0356, allocations: 0 / 0.8249 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.03608, allocations: 0.7331 MB / 0.8257 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.03664, allocations: 169.4 kB / 0.8258 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.03821, allocations: 1.154 MB / 0.8269 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.03834, allocations: 178.5 kB / 0.8271 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.03855, allocations: 92.75 kB / 0.8272 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.03862, allocations: 36.5 kB / 0.8272 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of SimCode: time 1.242e-06/0.03863, allocations: 0 / 0.8272 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of Templates: time 0.01141/0.05004, allocations: 9.166 MB / 0.8362 GB, free: 8.531 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_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.206472055055201]