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.002057/0.002057, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001668/0.001668, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.509/1.509, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 2.682/2.682, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",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.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.229e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009098/0.00913, allocations: 5.221 MB / 0.7915 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005955/0.01509, allocations: 2.583 MB / 0.794 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006215/0.01571, allocations: 31.69 kB / 0.794 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.01809, allocations: 0.6796 MB / 0.7947 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.01951, allocations: 441.4 kB / 0.7951 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.02078, allocations: 396.9 kB / 0.7955 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.02238, allocations: 0.9785 MB / 0.7965 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007892/0.02317, allocations: 379 kB / 0.7968 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.02433, allocations: 0.5189 MB / 0.7973 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007818/0.02512, allocations: 367.4 kB / 0.7977 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.02525, allocations: 49.53 kB / 0.7977 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007341/0.02598, allocations: 339.1 kB / 0.798 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.02629, allocations: 259.2 kB / 0.7983 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.02664, allocations: 243.4 kB / 0.7985 GB, free: 400 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.02799, allocations: 0.9935 MB / 0.7995 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.02799, allocations: 0 / 0.7995 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.322e-06/0.02799, allocations: 4.938 kB / 0.7995 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.028, allocations: 0 / 0.7995 GB, free: 15.39 MB / 0.7605 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.001955/0.02996, allocations: 0.9115 MB / 0.8004 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.03, allocations: 12.03 kB / 0.8004 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.03151, allocations: 290.8 kB / 0.8007 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/0.03239, allocations: 475.7 kB / 0.8011 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.03243, allocations: 41.86 kB / 0.8012 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.03263, allocations: 66.17 kB / 0.8012 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.03411, allocations: 0.9757 MB / 0.8022 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.03414, allocations: 8.125 kB / 0.8022 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.03421, allocations: 32.11 kB / 0.8022 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/0.03441, allocations: 61.7 kB / 0.8023 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.03542, allocations: 0.5741 MB / 0.8028 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.04027, allocations: 3.51 MB / 0.8063 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.04082, allocations: 271.3 kB / 0.8065 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.04118, allocations: 218.4 kB / 0.8067 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.04121, allocations: 12.22 kB / 0.8067 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.04126, allocations: 39.81 kB / 0.8068 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.04126, allocations: 0 / 0.8068 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.006544/0.0478, allocations: 2.393 MB / 0.8091 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.04786, allocations: 59.41 kB / 0.8092 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/0.04844, allocations: 425.7 kB / 0.8096 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.04848, allocations: 29.7 kB / 0.8096 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.04879, allocations: 356.4 kB / 0.81 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.04894, allocations: 146.8 kB / 0.8101 GB, free: 4.152 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.04913, allocations: 102.3 kB / 0.8102 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002396/0.04937, allocations: 362.7 kB / 0.8105 GB, free: 3.68 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.04978, allocations: 237.2 kB / 0.8108 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.05039, allocations: 415.3 kB / 0.8112 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.05145, allocations: 0.6779 MB / 0.8118 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.05146, allocations: 0 / 0.8118 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001919/0.05338, allocations: 0.9486 MB / 0.8127 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.0534, allocations: 8 kB / 0.8128 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.05341, allocations: 4 kB / 0.8128 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.05468, allocations: 290.7 kB / 0.813 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.05517, allocations: 119.8 kB / 0.8131 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006517/0.06169, allocations: 4.977 MB / 0.818 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.06215, allocations: 35.95 kB / 0.818 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.06221, allocations: 31.94 kB / 0.8181 GB, free: 11.48 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.0004277/0.06264, allocations: 225.7 kB / 0.8183 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.0628, allocations: 63.67 kB / 0.8183 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.06454, allocations: 0.7693 MB / 0.8191 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.06455, allocations: 8 kB / 0.8191 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.06456, allocations: 4 kB / 0.8191 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.06456, allocations: 3.984 kB / 0.8191 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.0673, allocations: 1.345 MB / 0.8204 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.06731, allocations: 4 kB / 0.8204 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.06765, allocations: 63.89 kB / 0.8205 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.06908, allocations: 266.5 kB / 0.8207 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.06912, allocations: 15.98 kB / 0.8208 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006051/0.07517, allocations: 4.907 MB / 0.8256 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/0.07519, allocations: 8.031 kB / 0.8256 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.07735, allocations: 1.14 MB / 0.8267 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.07759, allocations: 91.64 kB / 0.8268 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.07766, allocations: 15.94 kB / 0.8268 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.07797, allocations: 27.97 kB / 0.8268 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.07807, allocations: 35.88 kB / 0.8268 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.07811, allocations: 19.98 kB / 0.8269 GB, free: 2.027 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003934/0.07851, allocations: 275.1 kB / 0.8271 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.07851, allocations: 4 kB / 0.8271 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007707/0.07928, allocations: 176.1 kB / 0.8273 GB, free: 1.582 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.0001867/0.07947, allocations: 107.2 kB / 0.8274 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002057/0.08152, allocations: 0.9921 MB / 0.8284 GB, free: 444 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.08153, allocations: 0 / 0.8284 GB, free: 444 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.08264, allocations: 0.6756 MB / 0.829 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.08351, allocations: 168.7 kB / 0.8292 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.08573, allocations: 1.221 MB / 0.8304 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.08617, allocations: 346 kB / 0.8307 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003065/0.08648, allocations: 100.8 kB / 0.8308 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.08659, allocations: 36.5 kB / 0.8308 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of SimCode: time 4.9e-07/0.08659, allocations: 0 / 0.8308 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of Templates: time 0.01828/0.1049, allocations: 9.155 MB / 0.8398 GB, free: 4.848 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.10355624195654]