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.0008612/0.0008612, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0008272/0.0008272, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8714/0.8714, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.675/1.675, allocations: 359 MB / 0.6044 GB, free: 11.1 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.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 2.164e-06/2.164e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.301e-05, allocations: 5.094 kB / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004998/0.005031, allocations: 5.223 MB / 0.9568 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003761/0.008792, allocations: 2.576 MB / 0.9593 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/0.009277, allocations: 35.69 kB / 0.9594 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.01049, allocations: 0.6805 MB / 0.96 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009657/0.01146, allocations: 437.3 kB / 0.9605 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008913/0.01235, allocations: 403.4 kB / 0.9608 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009133/0.01326, allocations: 0.9785 MB / 0.9618 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.01377, allocations: 378.5 kB / 0.9622 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.01436, allocations: 0.522 MB / 0.9627 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.01483, allocations: 363 kB / 0.963 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.01488, allocations: 48 kB / 0.9631 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/0.01544, allocations: 335.1 kB / 0.9634 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.01564, allocations: 259.2 kB / 0.9636 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.01582, allocations: 247.3 kB / 0.9639 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.01689, allocations: 1.001 MB / 0.9648 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01689, allocations: 0 / 0.9648 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.645e-06/0.0169, allocations: 0 / 0.9648 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.01691, allocations: 0 / 0.9648 GB, free: 5.504 MB / 0.9167 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.001215/0.01812, allocations: 0.9131 MB / 0.9657 GB, free: 4.559 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.01817, allocations: 8.031 kB / 0.9657 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.01898, allocations: 200.3 kB / 0.9659 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.01958, allocations: 454.9 kB / 0.9664 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.01961, allocations: 45.3 kB / 0.9664 GB, free: 3.844 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.01973, allocations: 48.52 kB / 0.9665 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/0.02067, allocations: 0.9828 MB / 0.9674 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.0207, allocations: 8.125 kB / 0.9674 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.02075, allocations: 28.11 kB / 0.9674 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.02089, allocations: 64.95 kB / 0.9675 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.02151, allocations: 0.5658 MB / 0.9681 GB, free: 2.031 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.02434, allocations: 3.472 MB / 0.9715 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.0247, allocations: 282.6 kB / 0.9717 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.0251, allocations: 213.3 kB / 0.9719 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.02513, allocations: 8.219 kB / 0.9719 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.02516, allocations: 38.84 kB / 0.972 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.266e-06/0.02517, allocations: 4 kB / 0.972 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.003519/0.02869, allocations: 2.323 MB / 0.9742 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.02872, allocations: 55.41 kB / 0.9743 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.02907, allocations: 429.7 kB / 0.9747 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.0291, allocations: 29.7 kB / 0.9747 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.02927, allocations: 352.4 kB / 0.9751 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/0.02935, allocations: 150.7 kB / 0.9752 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.02947, allocations: 106.3 kB / 0.9753 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.02959, allocations: 362.7 kB / 0.9757 GB, free: 10 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.02983, allocations: 237.2 kB / 0.9759 GB, free: 9.77 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.03017, allocations: 407.3 kB / 0.9763 GB, free: 9.293 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.03078, allocations: 0.6779 MB / 0.9769 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.03078, allocations: 0 / 0.9769 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001044/0.03183, allocations: 0.9132 MB / 0.9778 GB, free: 7.613 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.03185, allocations: 11.94 kB / 0.9778 GB, free: 7.602 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.03186, allocations: 4 kB / 0.9778 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/0.03233, allocations: 223 kB / 0.9781 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.03262, allocations: 115.8 kB / 0.9782 GB, free: 7.258 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.03598, allocations: 4.934 MB / 0.983 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.03628, allocations: 35.91 kB / 0.983 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.0363, allocations: 31.92 kB / 0.9831 GB, free: 1.949 MB / 0.9323 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.0002656/0.03657, allocations: 222.3 kB / 0.9833 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.03663, allocations: 55.67 kB / 0.9833 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009345/0.03756, allocations: 0.7693 MB / 0.9841 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.03756, allocations: 4 kB / 0.9841 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.03757, allocations: 4 kB / 0.9841 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.03757, allocations: 0 / 0.9841 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.03908, allocations: 1.326 MB / 0.9854 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.03909, allocations: 3.984 kB / 0.9854 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.03929, allocations: 63.89 kB / 0.9854 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005465/0.03983, allocations: 206.6 kB / 0.9856 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.03985, allocations: 11.98 kB / 0.9856 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.04277, allocations: 4.863 MB / 0.9904 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.04277, allocations: 4.031 kB / 0.9904 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.04391, allocations: 1.12 MB / 0.9915 GB, free: 8.848 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.04407, allocations: 91.62 kB / 0.9916 GB, free: 8.758 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.04411, allocations: 15.92 kB / 0.9916 GB, free: 8.742 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.04428, allocations: 24.16 kB / 0.9916 GB, free: 8.719 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.04436, allocations: 43.94 kB / 0.9917 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.04438, allocations: 8 kB / 0.9917 GB, free: 8.668 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002178/0.0446, allocations: 283.1 kB / 0.9919 GB, free: 8.395 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.0446, allocations: 0 / 0.9919 GB, free: 8.395 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005403/0.04514, allocations: 168.1 kB / 0.9921 GB, free: 8.23 MB / 0.948 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.0001518/0.04529, allocations: 123.2 kB / 0.9922 GB, free: 8.102 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.0465, allocations: 0.9651 MB / 0.9932 GB, free: 7.098 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.04651, allocations: 3.938 kB / 0.9932 GB, free: 7.094 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.04703, allocations: 0.6681 MB / 0.9938 GB, free: 6.387 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.04761, allocations: 163.9 kB / 0.994 GB, free: 6.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.04916, allocations: 1.254 MB / 0.9952 GB, free: 4.922 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.04944, allocations: 358 kB / 0.9955 GB, free: 4.543 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.04953, allocations: 36.5 kB / 0.9956 GB, free: 4.508 MB / 0.948 GB Notification: Performance of SimCode: time 1.863e-06/0.04953, allocations: 0 / 0.9956 GB, free: 4.508 MB / 0.948 GB Notification: Performance of Templates: time 0.01284/0.06237, allocations: 14.93 MB / 1.01 GB, free: 5.613 MB / 0.9636 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.221844333223999]