Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001845/0.001845, allocations: 92.7 kB / 19.44 MB, free: 324 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.002242/0.002242, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.215/3.215, allocations: 429.6 MB / 0.673 GB, free: 3.836 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.916e-05, allocations: 6.938 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.01028/0.01031, allocations: 5.83 MB / 0.8833 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.007089/0.0174, allocations: 3.076 MB / 0.8863 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008253/0.01823, allocations: 39.62 kB / 0.8863 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.02139, allocations: 0.9393 MB / 0.8873 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.02361, allocations: 0.4893 MB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.02524, allocations: 0.4906 MB / 0.8882 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.02735, allocations: 1.116 MB / 0.8893 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.02865, allocations: 0.51 MB / 0.8898 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.03025, allocations: 0.6078 MB / 0.8904 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.03127, allocations: 422.8 kB / 0.8908 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.03146, allocations: 60 kB / 0.8908 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.03263, allocations: 450.7 kB / 0.8913 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.03308, allocations: 311.1 kB / 0.8916 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005685/0.03365, allocations: 271.3 kB / 0.8918 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.03612, allocations: 1.207 MB / 0.893 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.03613, allocations: 0 / 0.893 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.182e-06/0.03613, allocations: 0 / 0.893 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.993e-05/0.03618, allocations: 3.938 kB / 0.893 GB, free: 6.652 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002413/0.03859, allocations: 0.9948 MB / 0.894 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.03864, allocations: 8.031 kB / 0.894 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.04066, allocations: 343.6 kB / 0.8943 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.04187, allocations: 0.5393 MB / 0.8949 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.04193, allocations: 53.67 kB / 0.8949 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.04206, allocations: 64.31 kB / 0.895 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.04394, allocations: 1.138 MB / 0.8961 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.04397, allocations: 4.188 kB / 0.8961 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.04406, allocations: 32.36 kB / 0.8961 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.04418, allocations: 69.2 kB / 0.8962 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.04547, allocations: 0.6917 MB / 0.8969 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006157/0.05163, allocations: 4.409 MB / 0.9012 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009398/0.05256, allocations: 419.2 kB / 0.9016 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009406/0.05351, allocations: 388.6 kB / 0.9019 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.05355, allocations: 8 kB / 0.9019 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.0536, allocations: 38.56 kB / 0.902 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 2.635e-06/0.0536, allocations: 0 / 0.902 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.005144/0.05874, allocations: 1.734 MB / 0.9037 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.0588, allocations: 59.41 kB / 0.9037 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/0.05947, allocations: 437.7 kB / 0.9041 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.05952, allocations: 29.7 kB / 0.9042 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.0599, allocations: 400 kB / 0.9045 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.06007, allocations: 162.6 kB / 0.9047 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.06028, allocations: 110.2 kB / 0.9048 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.06052, allocations: 358.8 kB / 0.9052 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.06096, allocations: 245.2 kB / 0.9054 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.06162, allocations: 461 kB / 0.9058 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.06284, allocations: 0.7565 MB / 0.9066 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.06284, allocations: 0 / 0.9066 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002759/0.0656, allocations: 1.062 MB / 0.9076 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.06563, allocations: 10.66 kB / 0.9076 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.06564, allocations: 4.844 kB / 0.9076 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.06704, allocations: 359 kB / 0.908 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.0674, allocations: 103.8 kB / 0.9081 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009775/0.07718, allocations: 6.997 MB / 0.9149 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.07774, allocations: 32.02 kB / 0.9149 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/0.07782, allocations: 24.19 kB / 0.9149 GB, free: 15.12 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004259/0.07825, allocations: 249.5 kB / 0.9152 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.07846, allocations: 75.62 kB / 0.9153 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.08052, allocations: 0.8958 MB / 0.9161 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.08053, allocations: 4 kB / 0.9161 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/0.08055, allocations: 4 kB / 0.9161 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.08056, allocations: 3.938 kB / 0.9161 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.08382, allocations: 1.509 MB / 0.9176 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.08382, allocations: 0 / 0.9176 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.08401, allocations: 43.91 kB / 0.9177 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.08531, allocations: 347.5 kB / 0.918 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.08535, allocations: 4 kB / 0.918 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009347/0.0947, allocations: 6.99 MB / 0.9248 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.09471, allocations: 7.938 kB / 0.9248 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.0969, allocations: 0.9992 MB / 0.9258 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.09724, allocations: 99.56 kB / 0.9259 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.09736, allocations: 8 kB / 0.9259 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.09771, allocations: 27.97 kB / 0.9259 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.09788, allocations: 43.92 kB / 0.926 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.09791, allocations: 12 kB / 0.926 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004375/0.09835, allocations: 278.9 kB / 0.9262 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.09835, allocations: 0 / 0.9262 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009718/0.09932, allocations: 200 kB / 0.9264 GB, free: 2.789 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/0.09953, allocations: 118.1 kB / 0.9266 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002758/0.1023, allocations: 1.154 MB / 0.9277 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.1023, allocations: 0 / 0.9277 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.1039, allocations: 0.8357 MB / 0.9285 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.1051, allocations: 194.8 kB / 0.9287 GB, free: 400 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.1079, allocations: 1.258 MB / 0.9299 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.1085, allocations: 402.6 kB / 0.9303 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003622/0.1089, allocations: 89.02 kB / 0.9304 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.109, allocations: 36.48 kB / 0.9304 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of SimCode: time 1.462e-06/0.109, allocations: 4 kB / 0.9304 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of Templates: time 0.02251/0.1315, allocations: 10.42 MB / 0.9406 GB, free: 4.312 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.959551754058339]