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.00156/0.00156, allocations: 117.8 kB / 17.13 MB, free: 5.758 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.001543/0.001543, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.598/1.598, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.659/2.659, allocations: 443.5 MB / 0.7293 GB, free: 14.57 MB / 0.5763 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.001999/0.001999, allocations: 63.89 kB / 1.057 GB, free: 2.059 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3489, allocations: 160.7 MB / 1.214 GB, free: 1.027 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01919/0.3681, allocations: 14.24 MB / 1.228 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01622/0.3843, allocations: 9.521 MB / 1.237 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.3863, allocations: 55.62 kB / 1.237 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00488/0.3911, allocations: 1.68 MB / 1.239 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.3967, allocations: 1.582 MB / 1.241 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.3991, allocations: 0.76 MB / 1.241 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004418/0.4035, allocations: 2.512 MB / 1.244 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.4055, allocations: 1.126 MB / 1.245 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.4075, allocations: 1.071 MB / 1.246 GB, free: 336 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.4097, allocations: 1.214 MB / 1.247 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.41, allocations: 164 kB / 1.247 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.412, allocations: 0.8033 MB / 1.248 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000718/0.4127, allocations: 0.6347 MB / 1.249 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.414, allocations: 0.9445 MB / 1.25 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004441/0.4184, allocations: 2.767 MB / 1.252 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4184, allocations: 0 / 1.252 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.807e-06/0.4184, allocations: 0 / 1.252 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.249e-05/0.4185, allocations: 0 / 1.252 GB, free: 9.781 MB / 0.9981 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.005199/0.4237, allocations: 2.191 MB / 1.254 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4237, allocations: 12.03 kB / 1.254 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.4357, allocations: 2.098 MB / 1.256 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003315/0.439, allocations: 1.299 MB / 1.258 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-05/0.4391, allocations: 90.73 kB / 1.258 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.4394, allocations: 120.1 kB / 1.258 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006448/0.4459, allocations: 2.686 MB / 1.261 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.4459, allocations: 4 kB / 1.261 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.4461, allocations: 55.98 kB / 1.261 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006862/0.4468, allocations: 178.1 kB / 1.261 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7139/1.161, allocations: 2.795 MB / 1.263 GB, free: 48.08 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/1.176, allocations: 10.47 MB / 1.274 GB, free: 42.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007511/1.183, allocations: 2.448 MB / 1.276 GB, free: 42.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00364/1.187, allocations: 1.215 MB / 1.277 GB, free: 41.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-05/1.187, allocations: 12.03 kB / 1.277 GB, free: 41.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.187, allocations: 46.19 kB / 1.277 GB, free: 41.72 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.856e-06/1.187, allocations: 0.625 kB / 1.277 GB, free: 41.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.05073/1.238, allocations: 13.33 MB / 1.29 GB, free: 38.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/1.238, allocations: 65.28 kB / 1.29 GB, free: 38.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/1.24, allocations: 1.122 MB / 1.291 GB, free: 37.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003019/1.24, allocations: 46.83 kB / 1.292 GB, free: 37.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000493/1.24, allocations: 0.7284 MB / 1.292 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/1.241, allocations: 482.5 kB / 1.293 GB, free: 36.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000551/1.241, allocations: 262.5 kB / 1.293 GB, free: 36.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.241, allocations: 356.5 kB / 1.293 GB, free: 36.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/1.245, allocations: 1.341 MB / 1.295 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/1.249, allocations: 1.606 MB / 1.296 GB, free: 35.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007466/1.257, allocations: 2.995 MB / 1.299 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/1.257, allocations: 2.125 kB / 1.299 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01364/1.27, allocations: 4.397 MB / 1.303 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/1.27, allocations: 12.06 kB / 1.303 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/1.27, allocations: 7.922 kB / 1.303 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005817/1.276, allocations: 1.436 MB / 1.305 GB, free: 32.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/1.278, allocations: 432.5 kB / 1.305 GB, free: 32.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/1.301, allocations: 26.71 MB / 1.331 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/1.304, allocations: 307.8 kB / 1.332 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/1.304, allocations: 61.28 kB / 1.332 GB, free: 8.652 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.0008862/1.305, allocations: 437.4 kB / 1.332 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/1.305, allocations: 173.1 kB / 1.332 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.317, allocations: 4.403 MB / 1.337 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.317, allocations: 16.81 kB / 1.337 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.284e-05/1.317, allocations: 13.03 kB / 1.337 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/1.317, allocations: 9.438 kB / 1.337 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/1.332, allocations: 6.714 MB / 1.343 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.332, allocations: 7.422 kB / 1.343 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/1.334, allocations: 389.3 kB / 1.344 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004806/1.339, allocations: 1.305 MB / 1.345 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002953/1.339, allocations: 45.72 kB / 1.345 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02874/1.368, allocations: 25.51 MB / 1.37 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.368, allocations: 0 / 1.37 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.38, allocations: 4.16 MB / 1.374 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.381, allocations: 471.8 kB / 1.374 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/1.381, allocations: 24 kB / 1.374 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.384, allocations: 311.5 kB / 1.375 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004886/1.384, allocations: 120.9 kB / 1.375 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.384, allocations: 61.03 kB / 1.375 GB, free: 5.344 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00115/1.385, allocations: 0.7487 MB / 1.375 GB, free: 4.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.385, allocations: 0 / 1.375 GB, free: 4.594 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00247/1.388, allocations: 0.5664 MB / 1.376 GB, free: 4.027 MB / 1.029 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.0003431/1.388, allocations: 153.2 kB / 1.376 GB, free: 3.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.4, allocations: 4.969 MB / 1.381 GB, free: 14.74 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.4, allocations: 0 / 1.381 GB, free: 14.74 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.007796/1.408, allocations: 3.416 MB / 1.384 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/1.411, allocations: 0.5571 MB / 1.385 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009773/1.421, allocations: 4.14 MB / 1.389 GB, free: 6.449 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/1.422, allocations: 1.473 MB / 1.39 GB, free: 4.941 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/1.423, allocations: 139.3 kB / 1.391 GB, free: 4.805 MB / 1.045 GB Notification: Performance of SimCode: time 1.473e-06/1.423, allocations: 0 / 1.391 GB, free: 4.805 MB / 1.045 GB Notification: Performance of Templates: time 0.126/1.549, allocations: 112.7 MB / 1.501 GB, free: 4.113 MB / 1.154 GB " [Timeout remaining time 298] 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: 20.88774816901423]