Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.73/2.73, allocations: 437 MB / 0.7177 GB, free: 4.777 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.89 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 151.6 MB / 1.176 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01844/0.3292, allocations: 14.79 MB / 1.19 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.3457, allocations: 10.34 MB / 1.2 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.3473, allocations: 59.62 kB / 1.2 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.352, allocations: 1.691 MB / 1.202 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.3575, allocations: 1.819 MB / 1.204 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.3598, allocations: 0.7596 MB / 1.205 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004404/0.3642, allocations: 2.746 MB / 1.207 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.3666, allocations: 1.423 MB / 1.209 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.3691, allocations: 1.5 MB / 1.21 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.3714, allocations: 1.164 MB / 1.211 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.372, allocations: 164 kB / 1.211 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.374, allocations: 0.7877 MB / 1.212 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009609/0.375, allocations: 0.6076 MB / 1.213 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.3767, allocations: 0.9522 MB / 1.214 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004418/0.3811, allocations: 2.775 MB / 1.216 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3812, allocations: 0 / 1.216 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3812, allocations: 4 kB / 1.216 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.551e-05/0.3813, allocations: 0 / 1.216 GB, free: 12.16 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005068/0.3863, allocations: 2.226 MB / 1.219 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3864, allocations: 12.03 kB / 1.219 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.3986, allocations: 2.117 MB / 1.221 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.4018, allocations: 1.32 MB / 1.222 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.402, allocations: 86.69 kB / 1.222 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004873/0.4025, allocations: 120.1 kB / 1.222 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00688/0.4094, allocations: 2.67 MB / 1.225 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-05/0.4094, allocations: 11.89 kB / 1.225 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.4097, allocations: 55.92 kB / 1.225 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007052/0.4104, allocations: 194.1 kB / 1.225 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008469/0.4189, allocations: 2.791 MB / 1.228 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.436, allocations: 10.46 MB / 1.238 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008982/0.445, allocations: 2.344 MB / 1.24 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004861/0.4499, allocations: 1.272 MB / 1.242 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.45, allocations: 9 kB / 1.242 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.28e-05/0.4501, allocations: 47.56 kB / 1.242 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=89): time 3.727e-06/0.4501, allocations: 0 / 1.242 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=153): time 0.06752/0.5176, allocations: 16.51 MB / 1.258 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.5177, allocations: 72.72 kB / 1.258 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6547/1.172, allocations: 1.169 MB / 1.259 GB, free: 78.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003812/1.173, allocations: 51.56 kB / 1.259 GB, free: 78.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/1.173, allocations: 0.7585 MB / 1.26 GB, free: 78.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005309/1.174, allocations: 0.5403 MB / 1.26 GB, free: 78.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006611/1.175, allocations: 291.4 kB / 1.261 GB, free: 78.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/1.175, allocations: 306.6 kB / 1.261 GB, free: 78.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/1.179, allocations: 1.509 MB / 1.262 GB, free: 77.99 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004294/1.183, allocations: 1.782 MB / 1.264 GB, free: 77.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008448/1.192, allocations: 3.37 MB / 1.267 GB, free: 75.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/1.192, allocations: 2.531 kB / 1.267 GB, free: 75.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01547/1.207, allocations: 5.28 MB / 1.272 GB, free: 74.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/1.207, allocations: 11.16 kB / 1.272 GB, free: 74.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.207, allocations: 6.844 kB / 1.272 GB, free: 74.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007245/1.214, allocations: 1.878 MB / 1.274 GB, free: 73.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/1.217, allocations: 416.8 kB / 1.275 GB, free: 73.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02766/1.244, allocations: 24.17 MB / 1.298 GB, free: 56.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/1.247, allocations: 304.9 kB / 1.299 GB, free: 56.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/1.248, allocations: 67.33 kB / 1.299 GB, free: 56.79 MB / 0.9981 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,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009225/1.249, allocations: 467 kB / 1.299 GB, free: 56.49 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/1.249, allocations: 184.1 kB / 1.299 GB, free: 56.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.263, allocations: 5.322 MB / 1.304 GB, free: 54.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/1.263, allocations: 15.31 kB / 1.304 GB, free: 54.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.465e-05/1.263, allocations: 19 kB / 1.305 GB, free: 54.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/1.264, allocations: 11.53 kB / 1.305 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/1.281, allocations: 7.42 MB / 1.312 GB, free: 51.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/1.281, allocations: 4.859 kB / 1.312 GB, free: 51.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.283, allocations: 357.7 kB / 1.312 GB, free: 51.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005881/1.289, allocations: 1.705 MB / 1.314 GB, free: 51.49 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/1.289, allocations: 45.45 kB / 1.314 GB, free: 51.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0242/1.313, allocations: 23.32 MB / 1.337 GB, free: 33.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.314, allocations: 7.188 kB / 1.337 GB, free: 33.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.325, allocations: 4.896 MB / 1.341 GB, free: 30.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.326, allocations: 0.4938 MB / 1.342 GB, free: 30.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/1.327, allocations: 27.33 kB / 1.342 GB, free: 30.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.329, allocations: 317.1 kB / 1.342 GB, free: 29.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005233/1.329, allocations: 155.8 kB / 1.342 GB, free: 29.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/1.329, allocations: 54.55 kB / 1.342 GB, free: 29.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009395/1.33, allocations: 0.7857 MB / 1.343 GB, free: 29.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.33, allocations: 0 / 1.343 GB, free: 29.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002198/1.332, allocations: 0.6591 MB / 1.344 GB, free: 29.37 MB / 0.9981 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002813/1.333, allocations: 149.6 kB / 1.344 GB, free: 29.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01037/1.343, allocations: 5.166 MB / 1.349 GB, free: 25.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.343, allocations: 4.375 kB / 1.349 GB, free: 25.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006346/1.35, allocations: 3.362 MB / 1.352 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/1.352, allocations: 0.5576 MB / 1.353 GB, free: 21.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008215/1.36, allocations: 4.456 MB / 1.357 GB, free: 17.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009751/1.361, allocations: 1.572 MB / 1.359 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/1.362, allocations: 123.3 kB / 1.359 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.362, allocations: 0 / 1.359 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.09432/1.456, allocations: 85.85 MB / 1.443 GB, free: 9.664 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 18.036267346004024]