Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.00252/0.00252, allocations: 85.48 kB / 19.44 MB, free: 344 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.002976/0.002976, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.608/1.608, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.409/3.409, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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,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") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.659e-05, allocations: 6.172 kB / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01696/0.017, allocations: 10.96 MB / 0.8881 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.03397, allocations: 8.911 MB / 0.8968 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.03581, allocations: 87.25 kB / 0.8969 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005422/0.04123, allocations: 1.719 MB / 0.8986 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005974/0.04721, allocations: 1.607 MB / 0.9002 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.04955, allocations: 0.6779 MB / 0.9008 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004163/0.05371, allocations: 2.363 MB / 0.9031 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.05629, allocations: 1.152 MB / 0.9043 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.05961, allocations: 1.547 MB / 0.9058 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.06123, allocations: 0.8686 MB / 0.9066 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.06148, allocations: 136 kB / 0.9068 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.06326, allocations: 0.7443 MB / 0.9075 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007417/0.06401, allocations: 0.6036 MB / 0.9081 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009446/0.06495, allocations: 0.5961 MB / 0.9087 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004413/0.06936, allocations: 2.601 MB / 0.9112 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.06937, allocations: 0 / 0.9112 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.029e-06/0.06937, allocations: 7.984 kB / 0.9112 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.584e-05/0.06941, allocations: 0 / 0.9112 GB, free: 3.98 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004427/0.07384, allocations: 2.197 MB / 0.9134 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.07388, allocations: 8.031 kB / 0.9134 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009833/0.08372, allocations: 1.723 MB / 0.915 GB, free: 4 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/0.08684, allocations: 1.178 MB / 0.9162 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.596e-05/0.08693, allocations: 86.69 kB / 0.9163 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.0872, allocations: 116.3 kB / 0.9164 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004496/0.0917, allocations: 2.008 MB / 0.9184 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/0.09175, allocations: 7.922 kB / 0.9184 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.09191, allocations: 55.98 kB / 0.9184 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004036/0.09231, allocations: 130.1 kB / 0.9185 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004374/0.09669, allocations: 1.242 MB / 0.9197 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.1116, allocations: 8.5 MB / 0.9281 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.1151, allocations: 0.8203 MB / 0.9289 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.1167, allocations: 416.8 kB / 0.9292 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.955e-05/0.1167, allocations: 8.5 kB / 0.9293 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.1168, allocations: 45.89 kB / 0.9293 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=53): time 2.815e-06/0.1168, allocations: 0 / 0.9293 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.01578/0.1326, allocations: 4.117 MB / 0.9333 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.1326, allocations: 60.06 kB / 0.9334 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.1345, allocations: 1.186 MB / 0.9345 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.1346, allocations: 37.7 kB / 0.9346 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.007761/0.1424, allocations: 0.8586 MB / 0.9354 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006594/0.1431, allocations: 321.4 kB / 0.9357 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006206/0.1437, allocations: 220.2 kB / 0.9359 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003574/0.144, allocations: 0.5433 MB / 0.9365 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.1458, allocations: 0.5249 MB / 0.937 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.148, allocations: 0.8679 MB / 0.9378 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/0.1518, allocations: 1.441 MB / 0.9392 GB, free: 6.355 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.1518, allocations: 4 kB / 0.9392 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007334/0.1592, allocations: 2.109 MB / 0.9413 GB, free: 4.195 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.1592, allocations: 8 kB / 0.9413 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.1592, allocations: 4 kB / 0.9413 GB, free: 4.184 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/0.1634, allocations: 0.8445 MB / 0.9421 GB, free: 3.305 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.165, allocations: 303.5 kB / 0.9424 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.1848, allocations: 16.47 MB / 0.9585 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.1867, allocations: 183.7 kB / 0.9587 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.1868, allocations: 51.97 kB / 0.9587 GB, free: 1.324 MB / 0.9167 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (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.0006751/0.1875, allocations: 292.3 kB / 0.959 GB, free: 1.027 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/0.1878, allocations: 159.2 kB / 0.9592 GB, free: 0.8711 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00652/0.1944, allocations: 1.915 MB / 0.961 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.1944, allocations: 8 kB / 0.961 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.1944, allocations: 11.94 kB / 0.961 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.1944, allocations: 7.984 kB / 0.961 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009785/0.2042, allocations: 3.389 MB / 0.9644 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.2042, allocations: 4 kB / 0.9644 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.2054, allocations: 243.6 kB / 0.9646 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003746/0.2092, allocations: 0.786 MB / 0.9654 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.2093, allocations: 35.95 kB / 0.9654 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/0.2283, allocations: 16.35 MB / 0.9814 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2283, allocations: 4 kB / 0.9814 GB, free: 8.938 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006465/0.2347, allocations: 1.958 MB / 0.9833 GB, free: 6.879 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.2357, allocations: 291 kB / 0.9836 GB, free: 6.594 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.2359, allocations: 23.94 kB / 0.9836 GB, free: 6.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.2373, allocations: 183.6 kB / 0.9838 GB, free: 6.391 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/0.2377, allocations: 84.44 kB / 0.9838 GB, free: 6.309 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.2378, allocations: 39.97 kB / 0.9839 GB, free: 6.27 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001213/0.2391, allocations: 0.7165 MB / 0.9846 GB, free: 5.547 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2391, allocations: 0 / 0.9846 GB, free: 5.547 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001717/0.2408, allocations: 444 kB / 0.985 GB, free: 5.113 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002978/0.2411, allocations: 127.1 kB / 0.9851 GB, free: 4.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007126/0.2482, allocations: 2.951 MB / 0.988 GB, free: 1.883 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.2482, allocations: 0 / 0.988 GB, free: 1.883 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004824/0.253, allocations: 2.288 MB / 0.9902 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.2554, allocations: 0.4962 MB / 0.9907 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.263, allocations: 3.034 MB / 0.9937 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.2641, allocations: 0.7781 MB / 0.9944 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001372/0.2655, allocations: 318.6 kB / 0.9947 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.2658, allocations: 96.44 kB / 0.9948 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of SimCode: time 1.823e-06/0.2658, allocations: 3.938 kB / 0.9948 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of Templates: time 0.0585/0.3243, allocations: 31.81 MB / 1.026 GB, free: 11.43 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.949268796946853]