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.002704/0.002704, allocations: 89.47 kB / 19.44 MB, free: 340 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.003373/0.003373, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.653/1.653, allocations: 177.1 MB / 203.1 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 178] 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 3.308/3.308, allocations: 429.5 MB / 0.6729 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 176] 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.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_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.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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.598e-05/3.793e-05, allocations: 3.297 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009764/0.009802, allocations: 5.518 MB / 0.8828 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005458/0.01526, allocations: 2.672 MB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004969/0.01576, allocations: 35.69 kB / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.01789, allocations: 0.6969 MB / 0.8862 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.01912, allocations: 441.2 kB / 0.8866 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.02029, allocations: 394.8 kB / 0.887 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.02166, allocations: 0.9785 MB / 0.8879 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.0223, allocations: 378.5 kB / 0.8883 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008367/0.02314, allocations: 0.522 MB / 0.8888 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.02378, allocations: 374.9 kB / 0.8891 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.505e-05/0.02388, allocations: 48 kB / 0.8892 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009699/0.02485, allocations: 327.2 kB / 0.8895 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.02517, allocations: 275.2 kB / 0.8898 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.02552, allocations: 235.4 kB / 0.89 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.02693, allocations: 0.9929 MB / 0.891 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02693, allocations: 7.938 kB / 0.891 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.322e-06/0.02693, allocations: 0 / 0.891 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.02694, allocations: 3.938 kB / 0.891 GB, free: 8.82 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.001844/0.02879, allocations: 1.048 MB / 0.892 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.02883, allocations: 12.03 kB / 0.892 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.03033, allocations: 283.9 kB / 0.8923 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009634/0.03129, allocations: 489.6 kB / 0.8927 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.03134, allocations: 41.36 kB / 0.8928 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.0315, allocations: 60.55 kB / 0.8928 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.03279, allocations: 0.8411 MB / 0.8937 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.03282, allocations: 8.141 kB / 0.8937 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.03288, allocations: 28.11 kB / 0.8937 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.03309, allocations: 64.95 kB / 0.8938 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006957/0.03378, allocations: 323.4 kB / 0.8941 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005636/0.03942, allocations: 4.551 MB / 0.8985 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.03982, allocations: 163.8 kB / 0.8987 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.04005, allocations: 104.2 kB / 0.8988 GB, free: 448 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.04009, allocations: 12.22 kB / 0.8988 GB, free: 436 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.04013, allocations: 37.67 kB / 0.8988 GB, free: 388 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.04013, allocations: 4 kB / 0.8988 GB, free: 384 kB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.005059/0.04519, allocations: 1.65 MB / 0.9004 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.04525, allocations: 59.39 kB / 0.9005 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.04588, allocations: 0.5258 MB / 0.901 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.04592, allocations: 29.7 kB / 0.901 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.0463, allocations: 419.1 kB / 0.9014 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.04645, allocations: 154.8 kB / 0.9016 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.04667, allocations: 123.9 kB / 0.9017 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000346/0.04701, allocations: 0.5547 MB / 0.9022 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.04729, allocations: 125.2 kB / 0.9023 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.04782, allocations: 387.1 kB / 0.9027 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.04894, allocations: 0.5294 MB / 0.9032 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.04895, allocations: 8 kB / 0.9032 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001595/0.05054, allocations: 0.6914 MB / 0.9039 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.05056, allocations: 7.984 kB / 0.9039 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.05058, allocations: 8 kB / 0.9039 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.05176, allocations: 243.5 kB / 0.9042 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.05231, allocations: 123.7 kB / 0.9043 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006226/0.05853, allocations: 5.807 MB / 0.91 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.05903, allocations: 31.97 kB / 0.91 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.05908, allocations: 27.94 kB / 0.91 GB, free: 4.184 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.0005846/0.05967, allocations: 208.4 kB / 0.9102 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.05979, allocations: 63.67 kB / 0.9103 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.06121, allocations: 0.5432 MB / 0.9108 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.06121, allocations: 4 kB / 0.9108 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.06122, allocations: 4 kB / 0.9108 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.06123, allocations: 3.984 kB / 0.9108 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.06371, allocations: 1.185 MB / 0.912 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.06371, allocations: 0 / 0.912 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.06411, allocations: 71.88 kB / 0.912 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.06516, allocations: 223.1 kB / 0.9122 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.0652, allocations: 11.98 kB / 0.9123 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/0.07159, allocations: 5.796 MB / 0.9179 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.07159, allocations: 4 kB / 0.9179 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.07331, allocations: 0.8119 MB / 0.9187 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.07359, allocations: 95.64 kB / 0.9188 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.07366, allocations: 15.88 kB / 0.9188 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.07399, allocations: 31.95 kB / 0.9189 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.0741, allocations: 35.88 kB / 0.9189 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.07414, allocations: 12 kB / 0.9189 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000413/0.07455, allocations: 335 kB / 0.9192 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.07455, allocations: 0 / 0.9192 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007474/0.0753, allocations: 172 kB / 0.9194 GB, free: 10.03 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.0001892/0.07549, allocations: 114.1 kB / 0.9195 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.07722, allocations: 0.9714 MB / 0.9204 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.07723, allocations: 4 kB / 0.9204 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.07836, allocations: 0.7636 MB / 0.9212 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.07925, allocations: 175.5 kB / 0.9214 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.08139, allocations: 1.149 MB / 0.9225 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.08182, allocations: 338.1 kB / 0.9228 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002995/0.08212, allocations: 96.73 kB / 0.9229 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.08223, allocations: 36.5 kB / 0.9229 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of SimCode: time 1.202e-06/0.08223, allocations: 0 / 0.9229 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of Templates: time 0.01908/0.1013, allocations: 9.175 MB / 0.9319 GB, free: 13.21 MB / 0.9011 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.031729929964058]