Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001815/0.001815, allocations: 110 kB / 18.93 MB, free: 2.945 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.002002/0.002002, allocations: 185.2 kB / 22.23 MB, free: 5.16 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.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.88 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9617/0.9637, allocations: 160.8 MB / 1.218 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02212/0.9858, allocations: 14.59 MB / 1.233 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01737/1.003, allocations: 9.762 MB / 1.242 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/1.005, allocations: 79.31 kB / 1.242 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004814/1.01, allocations: 1.735 MB / 1.244 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005315/1.015, allocations: 1.606 MB / 1.246 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/1.018, allocations: 0.7562 MB / 1.246 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003815/1.021, allocations: 2.526 MB / 1.249 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/1.023, allocations: 1.001 MB / 1.25 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/1.026, allocations: 1.082 MB / 1.251 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/1.028, allocations: 1.21 MB / 1.252 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003538/1.029, allocations: 164 kB / 1.252 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/1.031, allocations: 0.8072 MB / 1.253 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008348/1.032, allocations: 0.6308 MB / 1.254 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/1.033, allocations: 0.9407 MB / 1.254 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004283/1.037, allocations: 2.766 MB / 1.257 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/1.037, allocations: 0 / 1.257 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.415e-06/1.037, allocations: 0 / 1.257 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.686e-05/1.037, allocations: 0 / 1.257 GB, free: 15.45 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.004387/1.042, allocations: 2.195 MB / 1.259 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.042, allocations: 8.031 kB / 1.259 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/1.053, allocations: 2.094 MB / 1.261 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/1.056, allocations: 1.311 MB / 1.263 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.881e-05/1.056, allocations: 90.72 kB / 1.263 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000442/1.057, allocations: 124.1 kB / 1.263 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006248/1.063, allocations: 2.682 MB / 1.265 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/1.063, allocations: 7.938 kB / 1.266 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/1.063, allocations: 51.98 kB / 1.266 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000646/1.064, allocations: 182.1 kB / 1.266 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007319/1.071, allocations: 2.795 MB / 1.268 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/1.088, allocations: 10.48 MB / 1.279 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006265/1.094, allocations: 2.443 MB / 1.281 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/1.097, allocations: 1.217 MB / 1.282 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.901e-05/1.097, allocations: 13 kB / 1.282 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/1.097, allocations: 43.56 kB / 1.282 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=89): time 2.836e-06/1.097, allocations: 0 / 1.282 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=131): time 0.0461/1.143, allocations: 13.33 MB / 1.295 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.143, allocations: 68.72 kB / 1.295 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/1.145, allocations: 1.121 MB / 1.296 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002303/1.145, allocations: 45.7 kB / 1.297 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006215/1.146, allocations: 0.7287 MB / 1.297 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005394/1.146, allocations: 471.9 kB / 1.298 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005305/1.147, allocations: 263.5 kB / 1.298 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002199/1.147, allocations: 365.9 kB / 1.298 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003395/1.15, allocations: 1.339 MB / 1.3 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/1.154, allocations: 1.6 MB / 1.301 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007028/1.161, allocations: 2.995 MB / 1.304 GB, free: 14.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.161, allocations: 3.938 kB / 1.304 GB, free: 14.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01189/1.173, allocations: 4.4 MB / 1.308 GB, free: 9.555 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/1.173, allocations: 8 kB / 1.308 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/1.173, allocations: 8 kB / 1.308 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005503/1.179, allocations: 1.435 MB / 1.31 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/1.181, allocations: 439.3 kB / 1.31 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03524/1.216, allocations: 26.71 MB / 1.336 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/1.219, allocations: 299.5 kB / 1.337 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003418/1.219, allocations: 67.91 kB / 1.337 GB, free: 10.74 MB / 1.045 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001168/1.22, allocations: 436.4 kB / 1.337 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005562/1.221, allocations: 167 kB / 1.337 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.233, allocations: 4.41 MB / 1.342 GB, free: 5.68 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/1.233, allocations: 16 kB / 1.342 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.782e-05/1.233, allocations: 12 kB / 1.342 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/1.233, allocations: 7.984 kB / 1.342 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.25, allocations: 6.732 MB / 1.348 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.25, allocations: 0 / 1.348 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.251, allocations: 383.3 kB / 1.349 GB, free: 14.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005198/1.257, allocations: 1.307 MB / 1.35 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/1.257, allocations: 35.97 kB / 1.35 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03052/1.287, allocations: 25.5 MB / 1.375 GB, free: 1.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.287, allocations: 4 kB / 1.375 GB, free: 1.656 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.299, allocations: 4.168 MB / 1.379 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.3, allocations: 459.8 kB / 1.379 GB, free: 12.92 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000442/1.301, allocations: 24 kB / 1.379 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.303, allocations: 319.4 kB / 1.38 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/1.303, allocations: 128.6 kB / 1.38 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.304, allocations: 55.97 kB / 1.38 GB, free: 12.41 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001395/1.305, allocations: 0.7487 MB / 1.38 GB, free: 11.66 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.01e-07/1.305, allocations: 0 / 1.38 GB, free: 11.66 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002503/1.308, allocations: 0.5664 MB / 1.381 GB, free: 11.09 MB / 1.092 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003688/1.308, allocations: 143.1 kB / 1.381 GB, free: 10.94 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.319, allocations: 4.974 MB / 1.386 GB, free: 5.797 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.319, allocations: 4 kB / 1.386 GB, free: 5.793 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007037/1.326, allocations: 3.413 MB / 1.389 GB, free: 2.211 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/1.329, allocations: 0.5555 MB / 1.39 GB, free: 1.676 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.34, allocations: 4.067 MB / 1.394 GB, free: 13.55 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/1.342, allocations: 1.477 MB / 1.395 GB, free: 12.04 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001782/1.343, allocations: 425.6 kB / 1.396 GB, free: 11.62 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/1.344, allocations: 107.4 kB / 1.396 GB, free: 11.52 MB / 1.107 GB Notification: Performance of SimCode: time 1.133e-06/1.344, allocations: 0 / 1.396 GB, free: 11.52 MB / 1.107 GB Notification: Performance of Templates: time 0.07631/1.42, allocations: 40.74 MB / 1.436 GB, free: 3.203 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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: 10.718109428882599]