Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009118/0.0009118, 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.0009407/0.0009407, allocations: 173.3 kB / 23.03 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.9202/0.9202, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.94/1.94, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.151e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004724/0.004745, allocations: 4.113 MB / 0.8822 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002392/0.007137, allocations: 1.511 MB / 0.8837 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.007396, allocations: 31.69 kB / 0.8837 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.007969, allocations: 179.4 kB / 0.8839 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006328/0.008601, allocations: 370.3 kB / 0.8842 GB, free: 144 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.009216, allocations: 320.7 kB / 0.8845 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009563/0.01017, allocations: 0.9902 MB / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000496/0.01067, allocations: 382.5 kB / 0.8859 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.01125, allocations: 0.5081 MB / 0.8864 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.01176, allocations: 386.9 kB / 0.8867 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.01183, allocations: 50.91 kB / 0.8868 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.01206, allocations: 135.7 kB / 0.8869 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.01227, allocations: 263.2 kB / 0.8871 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.01248, allocations: 239.4 kB / 0.8874 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.01312, allocations: 0.5877 MB / 0.888 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.01312, allocations: 4 kB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.42e-07/0.01312, allocations: 0 / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.01313, allocations: 0 / 0.888 GB, free: 12.3 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.00114/0.01427, allocations: 0.98 MB / 0.8889 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.01431, allocations: 9.688 kB / 0.8889 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009728/0.01528, allocations: 267.9 kB / 0.8892 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007773/0.01606, allocations: 474.2 kB / 0.8896 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.01609, allocations: 41.36 kB / 0.8897 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.01622, allocations: 52.56 kB / 0.8897 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.01701, allocations: 0.7903 MB / 0.8905 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.01704, allocations: 4.188 kB / 0.8905 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.01708, allocations: 28.11 kB / 0.8905 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.01722, allocations: 72.92 kB / 0.8906 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.0177, allocations: 277.4 kB / 0.8909 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.02083, allocations: 4.426 MB / 0.8952 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.02112, allocations: 147.8 kB / 0.8953 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.02128, allocations: 100.1 kB / 0.8954 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.02131, allocations: 12.22 kB / 0.8954 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.02134, allocations: 37.67 kB / 0.8955 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 3.777e-06/0.02134, allocations: 3.984 kB / 0.8955 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.003438/0.02478, allocations: 1.575 MB / 0.897 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.02481, allocations: 59.41 kB / 0.8971 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.02517, allocations: 454.5 kB / 0.8975 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.0252, allocations: 41.7 kB / 0.8975 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.02541, allocations: 399.1 kB / 0.8979 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.02551, allocations: 150.7 kB / 0.8981 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.02565, allocations: 108 kB / 0.8982 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.02581, allocations: 0.5352 MB / 0.8987 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.02599, allocations: 101.2 kB / 0.8988 GB, free: 0.7031 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.02631, allocations: 352.9 kB / 0.8991 GB, free: 260 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.02685, allocations: 490.1 kB / 0.8996 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02685, allocations: 0 / 0.8996 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00106/0.02791, allocations: 0.637 MB / 0.9002 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.02793, allocations: 8 kB / 0.9002 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.02794, allocations: 4 kB / 0.9002 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007425/0.02869, allocations: 230.9 kB / 0.9004 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.02902, allocations: 111.8 kB / 0.9005 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/0.03259, allocations: 5.662 MB / 0.9061 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.03285, allocations: 35.95 kB / 0.9061 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.03288, allocations: 23.94 kB / 0.9061 GB, free: 8.574 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.0001533/0.03304, allocations: 192.5 kB / 0.9063 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.03313, allocations: 67.67 kB / 0.9064 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008437/0.03397, allocations: 0.4924 MB / 0.9069 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.03398, allocations: 4 kB / 0.9069 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.03398, allocations: 4 kB / 0.9069 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.03399, allocations: 4 kB / 0.9069 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.03546, allocations: 1.072 MB / 0.9079 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.03546, allocations: 4 kB / 0.9079 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.03568, allocations: 63.98 kB / 0.908 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006487/0.03633, allocations: 231.1 kB / 0.9082 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.03636, allocations: 12 kB / 0.9082 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.04007, allocations: 5.651 MB / 0.9137 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.04007, allocations: 0 / 0.9137 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.04109, allocations: 0.7494 MB / 0.9145 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.04123, allocations: 91.62 kB / 0.9146 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.04128, allocations: 19.92 kB / 0.9146 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.04149, allocations: 23.97 kB / 0.9146 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.04157, allocations: 43.88 kB / 0.9146 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.04159, allocations: 8 kB / 0.9146 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002143/0.04181, allocations: 291 kB / 0.9149 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/0.04181, allocations: 0 / 0.9149 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005589/0.04237, allocations: 172 kB / 0.9151 GB, free: 14.84 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 0.0001309/0.0425, allocations: 115.2 kB / 0.9152 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.04404, allocations: 0.9168 MB / 0.9161 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.04404, allocations: 8.062 kB / 0.9161 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.04505, allocations: 0.7399 MB / 0.9168 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.04572, allocations: 180.3 kB / 0.917 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.04748, allocations: 1.136 MB / 0.9181 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.04762, allocations: 182.5 kB / 0.9183 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.04785, allocations: 100.7 kB / 0.9184 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.04794, allocations: 36.5 kB / 0.9184 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of SimCode: time 6.62e-07/0.04794, allocations: 0 / 0.9184 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of Templates: time 0.01328/0.06123, allocations: 9.668 MB / 0.9278 GB, free: 1.762 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.249507658183575]