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.001916/0.001916, allocations: 110 kB / 18.93 MB, free: 2.945 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.002225/0.002225, allocations: 188.8 kB / 22.23 MB, free: 5.16 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.499/1.499, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 443.4 MB / 0.7321 GB, free: 12.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002124/0.002124, allocations: 71.88 kB / 1.061 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8482, allocations: 160.8 MB / 1.218 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04363/0.8919, allocations: 34.83 MB / 1.252 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.918, allocations: 15.27 MB / 1.267 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.9218, allocations: 206.4 kB / 1.268 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.9327, allocations: 3.819 MB / 1.271 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009125/0.9418, allocations: 3.009 MB / 1.274 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006502/0.9483, allocations: 2.382 MB / 1.277 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.9619, allocations: 8.827 MB / 1.285 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009161/0.971, allocations: 5.084 MB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007201/0.9782, allocations: 4.067 MB / 1.294 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007825/0.986, allocations: 4.26 MB / 1.298 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002177/0.9882, allocations: 0.7148 MB / 1.299 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.9936, allocations: 1.755 MB / 1.301 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004612/0.9983, allocations: 2.895 MB / 1.304 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007135/1.005, allocations: 3.392 MB / 1.307 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01674/1.022, allocations: 11.22 MB / 1.318 GB, free: 1.117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.022, allocations: 0 / 1.318 GB, free: 1.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.194e-06/1.022, allocations: 4 kB / 1.318 GB, free: 1.113 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004424/1.023, allocations: 0 / 1.318 GB, free: 1.113 MB / 1.014 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.01913/1.042, allocations: 6.128 MB / 1.324 GB, free: 10.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.042, allocations: 8.031 kB / 1.324 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007941/1.05, allocations: 1.172 MB / 1.325 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/1.061, allocations: 3.538 MB / 1.328 GB, free: 6.098 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000597/1.061, allocations: 374.4 kB / 1.329 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002954/1.064, allocations: 0.4922 MB / 1.329 GB, free: 5.238 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/1.087, allocations: 8.005 MB / 1.337 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001664/1.087, allocations: 27.81 kB / 1.337 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007004/1.088, allocations: 216 kB / 1.337 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001079/1.089, allocations: 437.6 kB / 1.338 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/1.102, allocations: 6.088 MB / 1.344 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05173/1.154, allocations: 34.95 MB / 1.378 GB, free: 60 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/1.157, allocations: 1.913 MB / 1.38 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002813/1.16, allocations: 1.752 MB / 1.381 GB, free: 12.39 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/1.16, allocations: 22 kB / 1.381 GB, free: 12.37 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/1.16, allocations: 60.5 kB / 1.381 GB, free: 12.3 MB / 1.092 GB Notification: Performance of pre-optimization done (n=171): time 4.158e-06/1.16, allocations: 4 kB / 1.381 GB, free: 12.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=276): time 0.152/1.313, allocations: 38.85 MB / 1.419 GB, free: 5.348 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/1.313, allocations: 77.58 kB / 1.419 GB, free: 5.258 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/1.317, allocations: 2.286 MB / 1.422 GB, free: 2.957 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0006036/1.317, allocations: 73.7 kB / 1.422 GB, free: 2.879 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001972/1.319, allocations: 2.334 MB / 1.424 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.32, allocations: 0.98 MB / 1.425 GB, free: 15.53 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.321, allocations: 0.518 MB / 1.426 GB, free: 15 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.322, allocations: 308.9 kB / 1.426 GB, free: 14.7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003211/1.325, allocations: 1.97 MB / 1.428 GB, free: 12.73 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/1.329, allocations: 2.599 MB / 1.43 GB, free: 9.891 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007374/1.336, allocations: 4.933 MB / 1.435 GB, free: 4.684 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/1.336, allocations: 4 kB / 1.435 GB, free: 4.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01603/1.352, allocations: 7.658 MB / 1.443 GB, free: 12.95 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/1.352, allocations: 12 kB / 1.443 GB, free: 12.94 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/1.352, allocations: 23.98 kB / 1.443 GB, free: 12.92 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009813/1.362, allocations: 3.215 MB / 1.446 GB, free: 9.688 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/1.364, allocations: 403.3 kB / 1.446 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05134/1.415, allocations: 33.88 MB / 1.479 GB, free: 6.559 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/1.418, allocations: 159.8 kB / 1.479 GB, free: 6.402 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/1.419, allocations: 112.1 kB / 1.479 GB, free: 6.293 MB / 1.186 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.003627/1.422, allocations: 1.801 MB / 1.481 GB, free: 4.48 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008344/1.423, allocations: 346.1 kB / 1.482 GB, free: 4.141 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/1.438, allocations: 7.247 MB / 1.489 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/1.438, allocations: 28 kB / 1.489 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.066e-05/1.438, allocations: 32 kB / 1.489 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.471e-05/1.438, allocations: 15.95 kB / 1.489 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02711/1.465, allocations: 12.8 MB / 1.501 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/1.465, allocations: 8.844 kB / 1.501 GB, free: 15.76 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.467, allocations: 235.6 kB / 1.501 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00878/1.475, allocations: 2.85 MB / 1.504 GB, free: 12.66 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000424/1.476, allocations: 55.98 kB / 1.504 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04936/1.525, allocations: 32.69 MB / 1.536 GB, free: 11.05 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/1.525, allocations: 11.92 kB / 1.536 GB, free: 11.04 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/1.539, allocations: 6.787 MB / 1.543 GB, free: 4.043 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003022/1.542, allocations: 0.7994 MB / 1.544 GB, free: 3.223 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007722/1.543, allocations: 52 kB / 1.544 GB, free: 3.172 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/1.545, allocations: 167.8 kB / 1.544 GB, free: 3.008 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/1.546, allocations: 269.2 kB / 1.544 GB, free: 2.742 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/1.546, allocations: 76.31 kB / 1.544 GB, free: 2.668 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00263/1.549, allocations: 1.533 MB / 1.546 GB, free: 1.133 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/1.549, allocations: 0 / 1.546 GB, free: 1.133 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.005512/1.555, allocations: 1.371 MB / 1.547 GB, free: 15.76 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 (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.0005118/1.555, allocations: 179 kB / 1.547 GB, free: 15.57 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.568, allocations: 6.56 MB / 1.554 GB, free: 8.93 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.556e-05/1.568, allocations: 0 / 1.554 GB, free: 8.93 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.008832/1.577, allocations: 4.249 MB / 1.558 GB, free: 4.598 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/1.582, allocations: 1.119 MB / 1.559 GB, free: 3.516 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/1.604, allocations: 10.36 MB / 1.569 GB, free: 9.059 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005705/1.61, allocations: 3.647 MB / 1.572 GB, free: 5.375 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002404/1.612, allocations: 0.5595 MB / 1.573 GB, free: 4.812 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/1.612, allocations: 155.4 kB / 1.573 GB, free: 4.66 MB / 1.279 GB Notification: Performance of SimCode: time 1.824e-06/1.612, allocations: 7.938 kB / 1.573 GB, free: 4.652 MB / 1.279 GB Notification: Performance of Templates: time 0.8685/2.481, allocations: 79.44 MB / 1.651 GB, free: 336.9 MB / 1.311 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 12.860755003988743]