Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001778/0.001778, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002121/0.002121, allocations: 193.5 kB / 22.17 MB, free: 5.656 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.429/1.429, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.773, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04259/0.8156, allocations: 32.15 MB / 1.305 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.8407, allocations: 13.96 MB / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/0.8443, allocations: 143.2 kB / 1.319 GB, free: 6.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009996/0.8543, allocations: 3.314 MB / 1.322 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009318/0.8636, allocations: 2.783 MB / 1.325 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006346/0.87, allocations: 2.067 MB / 1.327 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01185/0.8818, allocations: 7.608 MB / 1.335 GB, free: 6.332 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.8923, allocations: 4.249 MB / 1.339 GB, free: 1.961 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007845/0.9002, allocations: 3.467 MB / 1.342 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00713/0.9073, allocations: 3.57 MB / 1.346 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002372/0.9097, allocations: 0.5977 MB / 1.346 GB, free: 10.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.9147, allocations: 1.521 MB / 1.348 GB, free: 8.781 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004425/0.9191, allocations: 2.424 MB / 1.35 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006989/0.9261, allocations: 2.886 MB / 1.353 GB, free: 3.453 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.9414, allocations: 9.492 MB / 1.362 GB, free: 9.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.9414, allocations: 0 / 1.362 GB, free: 9.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9414, allocations: 0 / 1.362 GB, free: 9.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003401/0.9418, allocations: 0 / 1.362 GB, free: 9.93 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01642/0.9582, allocations: 5.27 MB / 1.367 GB, free: 4.574 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.9582, allocations: 8.031 kB / 1.367 GB, free: 4.566 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0073/0.9655, allocations: 1.013 MB / 1.368 GB, free: 3.551 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008646/0.9742, allocations: 3.105 MB / 1.371 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/0.9745, allocations: 312.9 kB / 1.372 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.9759, allocations: 420.1 kB / 1.372 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/0.989, allocations: 6.791 MB / 1.379 GB, free: 8.562 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.9891, allocations: 23.88 kB / 1.379 GB, free: 8.539 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005129/0.9896, allocations: 187.9 kB / 1.379 GB, free: 8.355 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009468/0.9906, allocations: 368 kB / 1.379 GB, free: 7.992 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/1.001, allocations: 5.118 MB / 1.384 GB, free: 2.855 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03988/1.041, allocations: 30.57 MB / 1.414 GB, free: 1.523 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/1.043, allocations: 1.317 MB / 1.415 GB, free: 200 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/1.045, allocations: 1.243 MB / 1.417 GB, free: 14.95 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.394e-05/1.045, allocations: 21.31 kB / 1.417 GB, free: 14.93 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/1.045, allocations: 51.88 kB / 1.417 GB, free: 14.87 MB / 1.123 GB Notification: Performance of pre-optimization done (n=130): time 3.687e-06/1.045, allocations: 0 / 1.417 GB, free: 14.87 MB / 1.123 GB Notification: Performance of matching and sorting (n=199): time 0.09304/1.138, allocations: 23.08 MB / 1.439 GB, free: 7.676 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/1.138, allocations: 77.41 kB / 1.439 GB, free: 7.586 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/1.141, allocations: 2.059 MB / 1.441 GB, free: 5.512 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003413/1.141, allocations: 61.7 kB / 1.441 GB, free: 5.445 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.143, allocations: 2.063 MB / 1.443 GB, free: 3.363 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007894/1.144, allocations: 0.7088 MB / 1.444 GB, free: 2.648 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007567/1.145, allocations: 412.4 kB / 1.444 GB, free: 2.238 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.145, allocations: 313 kB / 1.445 GB, free: 1.93 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/1.147, allocations: 1.426 MB / 1.446 GB, free: 0.5 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/1.15, allocations: 2.013 MB / 1.448 GB, free: 14.24 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005137/1.155, allocations: 3.688 MB / 1.452 GB, free: 10.31 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.155, allocations: 8 kB / 1.452 GB, free: 10.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01204/1.167, allocations: 5.604 MB / 1.457 GB, free: 4.633 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/1.167, allocations: 16.03 kB / 1.457 GB, free: 4.617 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.167, allocations: 19.94 kB / 1.457 GB, free: 4.598 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/1.174, allocations: 2.076 MB / 1.459 GB, free: 2.465 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/1.176, allocations: 387.3 kB / 1.46 GB, free: 2.086 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04403/1.22, allocations: 38.46 MB / 1.497 GB, free: 9.102 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/1.222, allocations: 123.9 kB / 1.497 GB, free: 8.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/1.223, allocations: 92 kB / 1.497 GB, free: 8.891 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002634/1.225, allocations: 1.512 MB / 1.499 GB, free: 7.367 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006477/1.226, allocations: 298.2 kB / 1.499 GB, free: 7.074 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/1.237, allocations: 5.141 MB / 1.504 GB, free: 1.855 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/1.237, allocations: 20 kB / 1.504 GB, free: 1.836 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.817e-05/1.237, allocations: 16 kB / 1.504 GB, free: 1.82 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-05/1.237, allocations: 11.95 kB / 1.504 GB, free: 1.809 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/1.256, allocations: 9.602 MB / 1.514 GB, free: 8 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/1.256, allocations: 8.844 kB / 1.514 GB, free: 7.992 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000976/1.257, allocations: 215.6 kB / 1.514 GB, free: 7.781 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006166/1.263, allocations: 1.846 MB / 1.516 GB, free: 5.879 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/1.263, allocations: 40 kB / 1.516 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04119/1.305, allocations: 37.46 MB / 1.552 GB, free: 13.84 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/1.305, allocations: 11.94 kB / 1.552 GB, free: 13.83 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.315, allocations: 4.863 MB / 1.557 GB, free: 8.809 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002646/1.318, allocations: 0.6279 MB / 1.558 GB, free: 8.16 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.319, allocations: 43.94 kB / 1.558 GB, free: 8.117 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.321, allocations: 132 kB / 1.558 GB, free: 7.988 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007744/1.322, allocations: 189.6 kB / 1.558 GB, free: 7.801 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/1.322, allocations: 64 kB / 1.558 GB, free: 7.738 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002676/1.325, allocations: 1.374 MB / 1.559 GB, free: 6.355 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.325, allocations: 0 / 1.559 GB, free: 6.355 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003998/1.329, allocations: 1.051 MB / 1.56 GB, free: 5.305 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,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.0004269/1.329, allocations: 176.6 kB / 1.561 GB, free: 5.125 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.34, allocations: 6.01 MB / 1.566 GB, free: 14.89 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.34, allocations: 4.875 kB / 1.566 GB, free: 14.88 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.007412/1.348, allocations: 4.28 MB / 1.571 GB, free: 10.37 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/1.353, allocations: 1.001 MB / 1.572 GB, free: 9.398 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.37, allocations: 8.261 MB / 1.58 GB, free: 1.043 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004815/1.375, allocations: 3.128 MB / 1.583 GB, free: 13.88 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002125/1.377, allocations: 0.5315 MB / 1.583 GB, free: 13.34 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/1.378, allocations: 147.4 kB / 1.583 GB, free: 13.2 MB / 1.295 GB Notification: Performance of SimCode: time 7.82e-07/1.378, allocations: 0 / 1.583 GB, free: 13.2 MB / 1.295 GB Notification: Performance of Templates: time 0.7247/2.102, allocations: 60.21 MB / 1.642 GB, free: 302.9 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 11.614985337946564]