Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008228/0.0008228, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008318/0.0008318, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9014/0.9014, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.763/1.763, allocations: 377.9 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_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_12_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.392e-05/3.617e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007122/0.007158, allocations: 5.834 MB / 0.9879 GB, free: 12.21 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.01048, allocations: 3.082 MB / 0.9909 GB, free: 9.113 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.01077, allocations: 39.62 kB / 0.9909 GB, free: 9.074 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.01209, allocations: 0.9357 MB / 0.9919 GB, free: 8.137 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007017/0.01279, allocations: 0.497 MB / 0.9923 GB, free: 7.637 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.01345, allocations: 489.5 kB / 0.9928 GB, free: 7.16 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007893/0.01424, allocations: 1.12 MB / 0.9939 GB, free: 6.039 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005567/0.0148, allocations: 0.5177 MB / 0.9944 GB, free: 5.516 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.01531, allocations: 0.6077 MB / 0.995 GB, free: 4.906 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.0157, allocations: 426.8 kB / 0.9954 GB, free: 4.488 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.01576, allocations: 60 kB / 0.9955 GB, free: 4.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.01619, allocations: 450.7 kB / 0.9959 GB, free: 3.988 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.01637, allocations: 307.1 kB / 0.9962 GB, free: 3.688 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.01654, allocations: 275.3 kB / 0.9965 GB, free: 3.418 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008756/0.01742, allocations: 1.207 MB / 0.9976 GB, free: 2.207 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01742, allocations: 4 kB / 0.9976 GB, free: 2.203 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01742, allocations: 0 / 0.9976 GB, free: 2.203 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.058e-06/0.01743, allocations: 0 / 0.9976 GB, free: 2.203 MB / 0.948 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.00102/0.01845, allocations: 0.9792 MB / 0.9986 GB, free: 1.191 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.01849, allocations: 12.03 kB / 0.9986 GB, free: 1.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.01952, allocations: 240.1 kB / 0.9988 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.02008, allocations: 0.5158 MB / 0.9993 GB, free: 408 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.02011, allocations: 49.67 kB / 0.9994 GB, free: 360 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.864e-05/0.02018, allocations: 64.36 kB / 0.9994 GB, free: 296 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009209/0.0211, allocations: 1.123 MB / 1.001 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.02112, allocations: 16.08 kB / 1.001 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.02116, allocations: 28.36 kB / 1.001 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-05/0.02122, allocations: 77.14 kB / 1.001 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/0.02187, allocations: 0.6918 MB / 1.001 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.02452, allocations: 4.378 MB / 1.006 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.02506, allocations: 410.3 kB / 1.006 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.02552, allocations: 388.6 kB / 1.006 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.02555, allocations: 4 kB / 1.006 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.02556, allocations: 34.56 kB / 1.006 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=41): time 1.994e-06/0.02557, allocations: 4 kB / 1.006 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42): time 0.002325/0.02789, allocations: 1.718 MB / 1.008 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.02793, allocations: 63.34 kB / 1.008 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.02822, allocations: 441.7 kB / 1.009 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.02825, allocations: 29.7 kB / 1.009 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.02843, allocations: 400 kB / 1.009 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.549e-05/0.02851, allocations: 158.6 kB / 1.009 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.02861, allocations: 110.2 kB / 1.009 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.02871, allocations: 362.8 kB / 1.01 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.02895, allocations: 245.2 kB / 1.01 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.02927, allocations: 457 kB / 1.01 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/0.02987, allocations: 0.7527 MB / 1.011 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02987, allocations: 0 / 1.011 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00106/0.03093, allocations: 1.043 MB / 1.012 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.03095, allocations: 8 kB / 1.012 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.03096, allocations: 16.06 kB / 1.012 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.03152, allocations: 327.1 kB / 1.012 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.03168, allocations: 99.77 kB / 1.012 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.03617, allocations: 6.961 MB / 1.019 GB, free: 11 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.03634, allocations: 36.02 kB / 1.019 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.03637, allocations: 28 kB / 1.019 GB, free: 10.94 MB / 0.9792 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.0002807/0.03665, allocations: 245.5 kB / 1.02 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.0367, allocations: 55.67 kB / 1.02 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009392/0.03764, allocations: 0.8884 MB / 1.02 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.03764, allocations: 4 kB / 1.02 GB, free: 9.723 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.03764, allocations: 4 kB / 1.02 GB, free: 9.719 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.03765, allocations: 3.938 kB / 1.02 GB, free: 9.715 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.03913, allocations: 1.518 MB / 1.022 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.03913, allocations: 4.188 kB / 1.022 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.03921, allocations: 43.91 kB / 1.022 GB, free: 8.082 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/0.03967, allocations: 315.1 kB / 1.022 GB, free: 7.762 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.03969, allocations: 12 kB / 1.022 GB, free: 7.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004056/0.04375, allocations: 6.967 MB / 1.029 GB, free: 380 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.04375, allocations: 11.94 kB / 1.029 GB, free: 368 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009219/0.04467, allocations: 0.9798 MB / 1.03 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.04479, allocations: 95.52 kB / 1.03 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.04482, allocations: 8 kB / 1.03 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.04494, allocations: 27.97 kB / 1.03 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.04501, allocations: 35.92 kB / 1.03 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.04502, allocations: 16 kB / 1.03 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001769/0.0452, allocations: 282.9 kB / 1.031 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.0452, allocations: 0 / 1.031 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004765/0.04568, allocations: 196 kB / 1.031 GB, free: 14.69 MB / 0.9948 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.0001084/0.04578, allocations: 107.7 kB / 1.031 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.04682, allocations: 1.164 MB / 1.032 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.04683, allocations: 0 / 1.032 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005875/0.04741, allocations: 0.8422 MB / 1.033 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.04803, allocations: 210.8 kB / 1.033 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.04957, allocations: 1.283 MB / 1.034 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.04982, allocations: 398.7 kB / 1.035 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.04989, allocations: 40.48 kB / 1.035 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of SimCode: time 7.71e-07/0.04989, allocations: 0 / 1.035 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of Templates: time 0.4442/0.4941, allocations: 18.62 MB / 1.053 GB, free: 100.2 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.624106655828655]