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.001657/0.001657, 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.001744/0.001744, 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.408/1.408, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.665/2.665, allocations: 437.1 MB / 0.7177 GB, free: 4.492 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.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.001993/0.001993, allocations: 63.91 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 151.6 MB / 1.176 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01785/0.326, allocations: 14.06 MB / 1.19 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.3411, allocations: 9.384 MB / 1.199 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.3425, allocations: 55.62 kB / 1.199 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004992/0.3476, allocations: 1.684 MB / 1.2 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006038/0.3536, allocations: 1.533 MB / 1.202 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.356, allocations: 0.7561 MB / 1.203 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.3604, allocations: 2.52 MB / 1.205 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.3626, allocations: 1.419 MB / 1.207 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.3646, allocations: 1.043 MB / 1.208 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.3665, allocations: 1.144 MB / 1.209 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.3668, allocations: 168 kB / 1.209 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.3686, allocations: 0.7838 MB / 1.21 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.3693, allocations: 0.6193 MB / 1.21 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.3706, allocations: 0.9406 MB / 1.211 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.3749, allocations: 2.763 MB / 1.214 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3749, allocations: 0 / 1.214 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.215e-06/0.375, allocations: 0 / 1.214 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.943e-05/0.375, allocations: 0 / 1.214 GB, free: 14.86 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.005026/0.38, allocations: 2.203 MB / 1.216 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3801, allocations: 8.031 kB / 1.216 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.3921, allocations: 2.09 MB / 1.218 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.3954, allocations: 1.303 MB / 1.219 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/0.3955, allocations: 86.73 kB / 1.219 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.3958, allocations: 124 kB / 1.219 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006461/0.4022, allocations: 2.675 MB / 1.222 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.4023, allocations: 7.922 kB / 1.222 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.4025, allocations: 55.98 kB / 1.222 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006749/0.4032, allocations: 178.1 kB / 1.222 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00836/0.4116, allocations: 2.803 MB / 1.225 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.429, allocations: 10.48 MB / 1.235 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00747/0.4365, allocations: 2.521 MB / 1.238 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003549/0.44, allocations: 1.288 MB / 1.239 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.833e-05/0.4402, allocations: 16.94 kB / 1.239 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.4402, allocations: 43.5 kB / 1.239 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.4402, allocations: 0 / 1.239 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=131): time 0.04903/0.4893, allocations: 13.38 MB / 1.252 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.4894, allocations: 68.72 kB / 1.252 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.4911, allocations: 1.121 MB / 1.253 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.4912, allocations: 49.7 kB / 1.253 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/0.4918, allocations: 0.7209 MB / 1.254 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004823/0.4923, allocations: 479.9 kB / 1.255 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/0.4929, allocations: 259.5 kB / 1.255 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4931, allocations: 365.9 kB / 1.255 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003635/0.4967, allocations: 1.339 MB / 1.256 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/0.5006, allocations: 1.604 MB / 1.258 GB, free: 320 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6189/1.12, allocations: 2.983 MB / 1.261 GB, free: 77.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/1.12, allocations: 1.531 kB / 1.261 GB, free: 77.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01323/1.133, allocations: 4.452 MB / 1.265 GB, free: 76.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.133, allocations: 9.344 kB / 1.265 GB, free: 76.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.133, allocations: 7.094 kB / 1.265 GB, free: 76.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005629/1.139, allocations: 1.429 MB / 1.267 GB, free: 76.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/1.141, allocations: 441.2 kB / 1.267 GB, free: 75.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02438/1.165, allocations: 26.7 MB / 1.293 GB, free: 54.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.168, allocations: 300.2 kB / 1.293 GB, free: 54.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/1.168, allocations: 63.05 kB / 1.293 GB, free: 54 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 (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.0007689/1.169, allocations: 431.9 kB / 1.294 GB, free: 53.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/1.169, allocations: 181.2 kB / 1.294 GB, free: 53.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.181, allocations: 4.458 MB / 1.298 GB, free: 52.15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/1.182, allocations: 17.5 kB / 1.298 GB, free: 52.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.325e-05/1.182, allocations: 13.58 kB / 1.298 GB, free: 52.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/1.182, allocations: 7.453 kB / 1.298 GB, free: 52.15 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/1.197, allocations: 6.755 MB / 1.305 GB, free: 49.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.197, allocations: 3.328 kB / 1.305 GB, free: 49.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.199, allocations: 380.4 kB / 1.305 GB, free: 49.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004782/1.204, allocations: 1.309 MB / 1.307 GB, free: 49.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/1.204, allocations: 49.38 kB / 1.307 GB, free: 49.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/1.225, allocations: 25.5 MB / 1.332 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.225, allocations: 7.531 kB / 1.332 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.236, allocations: 4.21 MB / 1.336 GB, free: 26.19 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.237, allocations: 467.1 kB / 1.336 GB, free: 25.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/1.238, allocations: 23.72 kB / 1.336 GB, free: 25.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.24, allocations: 308 kB / 1.337 GB, free: 25.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006268/1.241, allocations: 131.4 kB / 1.337 GB, free: 25.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.241, allocations: 46.94 kB / 1.337 GB, free: 25.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001235/1.242, allocations: 0.7586 MB / 1.337 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.242, allocations: 0 / 1.337 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002596/1.245, allocations: 0.5658 MB / 1.338 GB, free: 25.22 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 (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.0002931/1.245, allocations: 141.2 kB / 1.338 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.256, allocations: 5.15 MB / 1.343 GB, free: 21.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.256, allocations: 0 / 1.343 GB, free: 21.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006538/1.262, allocations: 3.502 MB / 1.347 GB, free: 19.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.265, allocations: 0.5558 MB / 1.347 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/1.273, allocations: 4.159 MB / 1.351 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.274, allocations: 1.478 MB / 1.353 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/1.275, allocations: 133.7 kB / 1.353 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.275, allocations: 0 / 1.353 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.1161/1.391, allocations: 112.6 MB / 1.463 GB, free: 2.125 MB / 1.092 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.340095279039815]