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.001404/0.001404, allocations: 88.72 kB / 19.44 MB, free: 356 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.001517/0.001517, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.261/3.261, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.683e-06/1.683e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.338e-05, allocations: 4.328 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01634/0.01637, allocations: 10.19 MB / 0.8875 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.03293, allocations: 8.388 MB / 0.8957 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.03463, allocations: 87.25 kB / 0.8958 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005678/0.04031, allocations: 1.664 MB / 0.8974 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005755/0.04606, allocations: 1.615 MB / 0.899 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.04831, allocations: 0.6857 MB / 0.8997 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003901/0.05221, allocations: 2.371 MB / 0.902 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.05452, allocations: 1.141 MB / 0.9031 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.05759, allocations: 1.535 MB / 0.9046 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.059, allocations: 0.8295 MB / 0.9054 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.05924, allocations: 136 kB / 0.9056 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.06082, allocations: 0.7443 MB / 0.9063 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007007/0.06152, allocations: 0.5958 MB / 0.9069 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008506/0.06237, allocations: 0.5884 MB / 0.9074 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.06597, allocations: 2.601 MB / 0.91 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.06598, allocations: 4 kB / 0.91 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.06598, allocations: 0 / 0.91 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.984e-05/0.06602, allocations: 4 kB / 0.91 GB, free: 5.223 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.004001/0.07002, allocations: 1.96 MB / 0.9119 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.07006, allocations: 12.03 kB / 0.9119 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.08224, allocations: 2.254 MB / 0.9141 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.08502, allocations: 1.191 MB / 0.9153 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.08513, allocations: 90.69 kB / 0.9154 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.08542, allocations: 116.3 kB / 0.9155 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006884/0.0923, allocations: 2.697 MB / 0.9181 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.487e-05/0.09236, allocations: 15.86 kB / 0.9181 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.09254, allocations: 59.97 kB / 0.9182 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004142/0.09295, allocations: 126.1 kB / 0.9183 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008017/0.101, allocations: 2.541 MB / 0.9208 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.1159, allocations: 7.502 MB / 0.9281 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006695/0.1226, allocations: 1.85 MB / 0.9299 GB, free: 340 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.1256, allocations: 0.9427 MB / 0.9308 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.1256, allocations: 12.5 kB / 0.9309 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.553e-05/0.1257, allocations: 43.06 kB / 0.9309 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=53): time 3.346e-06/0.1257, allocations: 0 / 0.9309 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81): time 0.03449/0.1602, allocations: 9.124 MB / 0.9398 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.1603, allocations: 60.06 kB / 0.9399 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.1618, allocations: 0.9554 MB / 0.9408 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.1619, allocations: 41.7 kB / 0.9408 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006932/0.1626, allocations: 0.758 MB / 0.9416 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.1629, allocations: 289.5 kB / 0.9419 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/0.1634, allocations: 202.5 kB / 0.942 GB, free: 3.82 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1636, allocations: 349.9 kB / 0.9424 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003168/0.1668, allocations: 1.083 MB / 0.9434 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/0.1701, allocations: 1.317 MB / 0.9447 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006653/0.1768, allocations: 2.401 MB / 0.9471 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.1768, allocations: 4 kB / 0.9471 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009726/0.1865, allocations: 3.308 MB / 0.9503 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.1865, allocations: 8 kB / 0.9503 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.1865, allocations: 8.844 kB / 0.9503 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00439/0.1909, allocations: 1.006 MB / 0.9513 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/0.193, allocations: 411.3 kB / 0.9517 GB, free: 9.688 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/0.214, allocations: 15.05 MB / 0.9664 GB, free: 9.805 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/0.2165, allocations: 291.5 kB / 0.9667 GB, free: 9.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/0.2168, allocations: 51.95 kB / 0.9667 GB, free: 9.469 MB / 0.9323 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.0009318/0.2177, allocations: 409.5 kB / 0.9671 GB, free: 9.059 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004741/0.2182, allocations: 159.2 kB / 0.9673 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009843/0.228, allocations: 3.197 MB / 0.9704 GB, free: 5.664 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.228, allocations: 15.98 kB / 0.9704 GB, free: 5.648 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.442e-05/0.2281, allocations: 11.94 kB / 0.9704 GB, free: 5.637 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.2281, allocations: 3.984 kB / 0.9704 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.2409, allocations: 4.531 MB / 0.9748 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.2409, allocations: 0 / 0.9748 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.2427, allocations: 355.4 kB / 0.9752 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004123/0.2468, allocations: 0.9125 MB / 0.9761 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.2469, allocations: 35.91 kB / 0.9761 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.2663, allocations: 14.67 MB / 0.9904 GB, free: 204 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.2663, allocations: 4 kB / 0.9904 GB, free: 200 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009392/0.2757, allocations: 3.063 MB / 0.9934 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008378/0.2766, allocations: 302.9 kB / 0.9937 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/0.2769, allocations: 27.88 kB / 0.9937 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/0.2789, allocations: 291.4 kB / 0.994 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/0.2792, allocations: 84.44 kB / 0.9941 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.2793, allocations: 43.97 kB / 0.9941 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001213/0.2805, allocations: 0.6346 MB / 0.9948 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.2805, allocations: 0 / 0.9948 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001736/0.2823, allocations: 444 kB / 0.9952 GB, free: 11.24 MB / 0.9636 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.0003229/0.2826, allocations: 123.2 kB / 0.9953 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009561/0.2921, allocations: 3.545 MB / 0.9988 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.2921, allocations: 0 / 0.9988 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.005714/0.2979, allocations: 2.351 MB / 1.001 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.3006, allocations: 0.4914 MB / 1.002 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.3109, allocations: 3.806 MB / 1.005 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.3123, allocations: 0.8015 MB / 1.006 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001544/0.3138, allocations: 366.6 kB / 1.006 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.3143, allocations: 96.44 kB / 1.006 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of SimCode: time 9.42e-07/0.3143, allocations: 0 / 1.006 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of Templates: time 0.05727/0.3715, allocations: 31.35 MB / 1.037 GB, free: 0.6172 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] 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.55234796309378]