Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 113.8 kB / 17.61 MB, free: 4.703 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.002099/0.002099, allocations: 186 kB / 20.78 MB, free: 1.547 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.491/1.491, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.761/2.761, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.89 kB / 1.107 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9265/0.9285, allocations: 168.7 MB / 1.272 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04397/0.9725, allocations: 34.83 MB / 1.306 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0295/1.002, allocations: 15.26 MB / 1.321 GB, free: 6.535 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/1.006, allocations: 156.5 kB / 1.321 GB, free: 6.484 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01147/1.018, allocations: 3.785 MB / 1.325 GB, free: 4.266 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01188/1.03, allocations: 3.011 MB / 1.328 GB, free: 2.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009095/1.039, allocations: 2.376 MB / 1.33 GB, free: 1.074 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01667/1.056, allocations: 8.812 MB / 1.339 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/1.069, allocations: 5.095 MB / 1.344 GB, free: 10.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009704/1.079, allocations: 4.015 MB / 1.347 GB, free: 8.754 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009256/1.088, allocations: 4.254 MB / 1.352 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003161/1.091, allocations: 0.7193 MB / 1.352 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006648/1.098, allocations: 1.748 MB / 1.354 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006613/1.104, allocations: 2.902 MB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00992/1.114, allocations: 3.385 MB / 1.36 GB, free: 2.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01936/1.134, allocations: 11.22 MB / 1.371 GB, free: 9.949 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/1.134, allocations: 4 kB / 1.371 GB, free: 9.945 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/1.134, allocations: 1.062 kB / 1.371 GB, free: 9.945 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003842/1.134, allocations: 0 / 1.371 GB, free: 9.945 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0193/1.153, allocations: 6.135 MB / 1.377 GB, free: 5.805 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.153, allocations: 10.22 kB / 1.377 GB, free: 5.805 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008572/1.162, allocations: 1.165 MB / 1.378 GB, free: 5.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009245/1.171, allocations: 3.544 MB / 1.382 GB, free: 2.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/1.172, allocations: 370.4 kB / 1.382 GB, free: 2.742 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002859/1.174, allocations: 0.4934 MB / 1.383 GB, free: 2.566 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/1.197, allocations: 8.006 MB / 1.39 GB, free: 11.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001911/1.197, allocations: 19.88 kB / 1.39 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/1.199, allocations: 219.9 kB / 1.391 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001143/1.2, allocations: 437.6 kB / 1.391 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/1.215, allocations: 6.081 MB / 1.397 GB, free: 4.488 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04973/1.264, allocations: 34.95 MB / 1.431 GB, free: 14.37 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/1.267, allocations: 1.92 MB / 1.433 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/1.27, allocations: 1.752 MB / 1.435 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/1.27, allocations: 18 kB / 1.435 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/1.27, allocations: 56.5 kB / 1.435 GB, free: 10.62 MB / 1.123 GB Notification: Performance of pre-optimization done (n=171): time 3.486e-06/1.27, allocations: 0 / 1.435 GB, free: 10.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=276): time 0.1505/1.421, allocations: 38.85 MB / 1.473 GB, free: 3.664 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/1.421, allocations: 81.52 kB / 1.473 GB, free: 3.57 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/1.425, allocations: 2.29 MB / 1.475 GB, free: 1.266 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004419/1.425, allocations: 73.7 kB / 1.475 GB, free: 1.188 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.427, allocations: 2.334 MB / 1.477 GB, free: 14.83 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001182/1.428, allocations: 0.9838 MB / 1.478 GB, free: 13.84 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/1.429, allocations: 0.5102 MB / 1.479 GB, free: 13.32 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.429, allocations: 304.9 kB / 1.479 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/1.432, allocations: 1.977 MB / 1.481 GB, free: 11.04 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003653/1.436, allocations: 2.595 MB / 1.484 GB, free: 8.203 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007311/1.443, allocations: 4.937 MB / 1.488 GB, free: 2.992 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/1.443, allocations: 7.938 kB / 1.488 GB, free: 2.984 MB / 1.17 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01595/1.459, allocations: 7.658 MB / 1.496 GB, free: 11.26 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/1.459, allocations: 12 kB / 1.496 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/1.459, allocations: 19.98 kB / 1.496 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009743/1.469, allocations: 3.21 MB / 1.499 GB, free: 8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/1.471, allocations: 407.2 kB / 1.499 GB, free: 7.602 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04862/1.52, allocations: 33.9 MB / 1.533 GB, free: 4.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/1.523, allocations: 163.8 kB / 1.533 GB, free: 4.691 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003726/1.523, allocations: 112 kB / 1.533 GB, free: 4.582 MB / 1.217 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003478/1.527, allocations: 1.793 MB / 1.535 GB, free: 2.777 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007856/1.527, allocations: 350.2 kB / 1.535 GB, free: 2.434 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.542, allocations: 7.243 MB / 1.542 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/1.542, allocations: 24 kB / 1.542 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.519e-05/1.542, allocations: 32 kB / 1.542 GB, free: 11.05 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-05/1.542, allocations: 15.89 kB / 1.542 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/1.567, allocations: 12.81 MB / 1.555 GB, free: 14.06 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.567, allocations: 4 kB / 1.555 GB, free: 14.06 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.568, allocations: 235.6 kB / 1.555 GB, free: 13.83 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00835/1.577, allocations: 2.854 MB / 1.558 GB, free: 10.96 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002934/1.577, allocations: 52.12 kB / 1.558 GB, free: 10.91 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04651/1.624, allocations: 32.7 MB / 1.59 GB, free: 9.352 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/1.624, allocations: 15.92 kB / 1.59 GB, free: 9.336 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.637, allocations: 6.779 MB / 1.596 GB, free: 2.344 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/1.639, allocations: 0.7956 MB / 1.597 GB, free: 1.527 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006418/1.64, allocations: 55.95 kB / 1.597 GB, free: 1.473 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.641, allocations: 171.7 kB / 1.597 GB, free: 1.305 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008939/1.642, allocations: 253.5 kB / 1.597 GB, free: 1.055 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/1.643, allocations: 76 kB / 1.598 GB, free: 0.9805 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002423/1.645, allocations: 1.525 MB / 1.599 GB, free: 15.45 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.645, allocations: 0 / 1.599 GB, free: 15.45 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004757/1.65, allocations: 1.367 MB / 1.6 GB, free: 14.09 MB / 1.295 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005655/1.65, allocations: 183.5 kB / 1.601 GB, free: 13.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.663, allocations: 6.556 MB / 1.607 GB, free: 7.254 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.663, allocations: 3.953 kB / 1.607 GB, free: 7.25 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008556/1.672, allocations: 4.246 MB / 1.611 GB, free: 2.918 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005541/1.677, allocations: 1.117 MB / 1.612 GB, free: 1.836 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/1.698, allocations: 10.37 MB / 1.622 GB, free: 7.367 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004954/1.703, allocations: 3.639 MB / 1.626 GB, free: 3.695 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002072/1.705, allocations: 0.5595 MB / 1.626 GB, free: 3.133 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/1.705, allocations: 167.4 kB / 1.627 GB, free: 2.973 MB / 1.311 GB Notification: Performance of SimCode: time 1.112e-06/1.705, allocations: 0 / 1.627 GB, free: 2.973 MB / 1.311 GB Notification: Performance of Templates: time 0.1344/1.84, allocations: 78.39 MB / 1.703 GB, free: 5.582 MB / 1.389 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.76827267371118]