Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00171/0.00171, 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.002005/0.002005, 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.442/1.442, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.698/2.698, allocations: 437.1 MB / 0.7177 GB, free: 4.477 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.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.89 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3008, allocations: 151.6 MB / 1.176 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04037/0.3412, allocations: 33.34 MB / 1.208 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02543/0.3667, allocations: 14.83 MB / 1.223 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003636/0.3703, allocations: 151.2 kB / 1.223 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01005/0.3805, allocations: 3.659 MB / 1.227 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008993/0.3895, allocations: 2.874 MB / 1.229 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006776/0.3963, allocations: 2.334 MB / 1.232 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01525/0.4116, allocations: 8.819 MB / 1.24 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01406/0.4257, allocations: 9.57 MB / 1.25 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007751/0.4335, allocations: 3.961 MB / 1.254 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007469/0.441, allocations: 4.03 MB / 1.257 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00241/0.4435, allocations: 0.7148 MB / 1.258 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7046/1.148, allocations: 1.717 MB / 1.26 GB, free: 26.76 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005163/1.153, allocations: 2.827 MB / 1.263 GB, free: 26.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01072/1.164, allocations: 3.389 MB / 1.266 GB, free: 26.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02108/1.185, allocations: 11.22 MB / 1.277 GB, free: 25.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.185, allocations: 0 / 1.277 GB, free: 25.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/1.185, allocations: 0.75 kB / 1.277 GB, free: 25.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005342/1.186, allocations: 0 / 1.277 GB, free: 25.17 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02355/1.209, allocations: 6.137 MB / 1.283 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.209, allocations: 13.23 kB / 1.283 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009923/1.219, allocations: 1.174 MB / 1.284 GB, free: 22.44 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/1.23, allocations: 3.533 MB / 1.287 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004152/1.23, allocations: 376 kB / 1.288 GB, free: 21.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003047/1.233, allocations: 0.4884 MB / 1.288 GB, free: 21.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/1.256, allocations: 8.01 MB / 1.296 GB, free: 20.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/1.257, allocations: 23.14 kB / 1.296 GB, free: 20.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/1.258, allocations: 217.1 kB / 1.296 GB, free: 20.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/1.259, allocations: 439.5 kB / 1.297 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/1.274, allocations: 6.09 MB / 1.303 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04979/1.323, allocations: 34.98 MB / 1.337 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/1.327, allocations: 2.026 MB / 1.339 GB, free: 6.203 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002857/1.33, allocations: 1.873 MB / 1.341 GB, free: 5.219 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/1.33, allocations: 21.7 kB / 1.341 GB, free: 5.215 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.461e-05/1.33, allocations: 53.28 kB / 1.341 GB, free: 5.164 MB / 1.014 GB Notification: Performance of pre-optimization done (n=171): time 4.218e-06/1.33, allocations: 0 / 1.341 GB, free: 5.164 MB / 1.014 GB Notification: Performance of matching and sorting (n=276): time 0.1565/1.486, allocations: 38.97 MB / 1.379 GB, free: 13.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/1.486, allocations: 81.58 kB / 1.379 GB, free: 13.7 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004587/1.491, allocations: 2.282 MB / 1.381 GB, free: 11.4 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005327/1.492, allocations: 69.7 kB / 1.381 GB, free: 11.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/1.494, allocations: 2.343 MB / 1.383 GB, free: 8.973 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001241/1.495, allocations: 0.9811 MB / 1.384 GB, free: 8.004 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/1.496, allocations: 0.5063 MB / 1.385 GB, free: 7.488 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.496, allocations: 301.1 kB / 1.385 GB, free: 7.191 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003201/1.5, allocations: 1.981 MB / 1.387 GB, free: 5.211 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/1.503, allocations: 2.599 MB / 1.39 GB, free: 2.375 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007267/1.511, allocations: 4.934 MB / 1.395 GB, free: 13.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/1.511, allocations: 7.938 kB / 1.395 GB, free: 13.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01655/1.527, allocations: 7.77 MB / 1.402 GB, free: 5.602 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/1.527, allocations: 15.98 kB / 1.402 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/1.527, allocations: 20 kB / 1.402 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/1.537, allocations: 3.212 MB / 1.405 GB, free: 2.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/1.539, allocations: 400.1 kB / 1.406 GB, free: 1.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05141/1.591, allocations: 33.9 MB / 1.439 GB, free: 15.31 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/1.595, allocations: 167.8 kB / 1.439 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006275/1.595, allocations: 108 kB / 1.439 GB, free: 15.04 MB / 1.107 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.004135/1.599, allocations: 1.794 MB / 1.441 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.6, allocations: 341.9 kB / 1.441 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/1.616, allocations: 7.374 MB / 1.448 GB, free: 5.582 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/1.616, allocations: 24 kB / 1.448 GB, free: 5.559 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-05/1.616, allocations: 32 kB / 1.448 GB, free: 5.527 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.22e-05/1.616, allocations: 11.95 kB / 1.448 GB, free: 5.516 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02842/1.645, allocations: 12.92 MB / 1.461 GB, free: 8.617 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/1.645, allocations: 4 kB / 1.461 GB, free: 8.613 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.646, allocations: 232.8 kB / 1.461 GB, free: 8.398 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008895/1.655, allocations: 2.857 MB / 1.464 GB, free: 5.527 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004657/1.655, allocations: 52 kB / 1.464 GB, free: 5.477 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04845/1.704, allocations: 32.71 MB / 1.496 GB, free: 4 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/1.704, allocations: 11.28 kB / 1.496 GB, free: 3.992 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/1.719, allocations: 6.905 MB / 1.503 GB, free: 12.99 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.722, allocations: 0.7917 MB / 1.504 GB, free: 12.18 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001318/1.723, allocations: 51.94 kB / 1.504 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002849/1.726, allocations: 171.7 kB / 1.504 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.727, allocations: 264.5 kB / 1.504 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000355/1.727, allocations: 72 kB / 1.504 GB, free: 11.63 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003197/1.731, allocations: 1.525 MB / 1.506 GB, free: 10.11 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.61e-07/1.731, allocations: 0 / 1.506 GB, free: 10.11 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00609/1.737, allocations: 1.367 MB / 1.507 GB, free: 8.738 MB / 1.17 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.0006792/1.737, allocations: 184.6 kB / 1.507 GB, free: 8.562 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.751, allocations: 6.933 MB / 1.514 GB, free: 1.641 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/1.751, allocations: 4 kB / 1.514 GB, free: 1.637 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.009264/1.76, allocations: 4.431 MB / 1.518 GB, free: 13.16 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007084/1.767, allocations: 1.104 MB / 1.519 GB, free: 12.11 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/1.791, allocations: 10.95 MB / 1.53 GB, free: 1.109 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005932/1.797, allocations: 3.753 MB / 1.534 GB, free: 13.32 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008722/1.798, allocations: 175.4 kB / 1.534 GB, free: 13.15 MB / 1.201 GB Notification: Performance of SimCode: time 7.51e-07/1.798, allocations: 3.375 kB / 1.534 GB, free: 13.15 MB / 1.201 GB Notification: Performance of Templates: time 0.3175/2.115, allocations: 227.6 MB / 1.756 GB, free: 9.727 MB / 1.42 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 25.05110074300319]