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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002449/0.002449, allocations: 79.75 kB / 20.23 MB, free: 4.168 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002803/0.002803, allocations: 153.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.911/2.911, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.362e-06/1.362e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.954e-05, allocations: 8.531 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04802/0.04805, allocations: 33.54 MB / 0.8191 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02997/0.07802, allocations: 15.02 MB / 0.8338 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003995/0.08201, allocations: 214.4 kB / 0.834 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.09332, allocations: 3.772 MB / 0.8377 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.009552/0.1029, allocations: 3.075 MB / 0.8407 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.006813/0.1097, allocations: 2.361 MB / 0.843 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01392/0.1236, allocations: 9.012 MB / 0.8518 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.136, allocations: 5.523 MB / 0.8572 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.1505, allocations: 5.734 MB / 0.8628 GB, free: 14.27 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00848/0.159, allocations: 3.901 MB / 0.8666 GB, free: 10.36 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.002715/0.1617, allocations: 0.7109 MB / 0.8673 GB, free: 9.645 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005773/0.1674, allocations: 1.634 MB / 0.8689 GB, free: 8.008 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.005844/0.1733, allocations: 3.059 MB / 0.8719 GB, free: 4.941 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.007714/0.181, allocations: 2.394 MB / 0.8742 GB, free: 2.543 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.02021/0.2012, allocations: 11.43 MB / 0.8854 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2012, allocations: 0 / 0.8854 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2012, allocations: 0 / 0.8854 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000397/0.2016, allocations: 0 / 0.8854 GB, free: 7.086 MB / 0.8386 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.02142/0.223, allocations: 6.839 MB / 0.8921 GB, free: 180 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.2231, allocations: 8.031 kB / 0.8921 GB, free: 172 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009576/0.2327, allocations: 1.803 MB / 0.8938 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.2433, allocations: 3.452 MB / 0.8972 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004321/0.2438, allocations: 374.4 kB / 0.8976 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/0.2456, allocations: 0.5002 MB / 0.898 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.2629, allocations: 5.998 MB / 0.9039 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002037/0.2631, allocations: 19.83 kB / 0.9039 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009996/0.2641, allocations: 216 kB / 0.9041 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001257/0.2653, allocations: 441.6 kB / 0.9046 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008805/0.2741, allocations: 2.263 MB / 0.9068 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06854/0.3427, allocations: 28.87 MB / 0.935 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/0.3463, allocations: 1.024 MB / 0.936 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003108/0.3494, allocations: 0.8651 MB / 0.9368 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.3497, allocations: 30 kB / 0.9368 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.3498, allocations: 63.39 kB / 0.9369 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=171): time 7.454e-06/0.3498, allocations: 4 kB / 0.9369 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of matching and sorting (n=276): time 0.04791/0.3977, allocations: 9.833 MB / 0.9465 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.3978, allocations: 81.58 kB / 0.9466 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006535/0.4043, allocations: 2.576 MB / 0.9491 GB, free: 4.258 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005912/0.4049, allocations: 73.7 kB / 0.9492 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003355/0.4083, allocations: 2.553 MB / 0.9516 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002547/0.4108, allocations: 1.085 MB / 0.9527 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002353/0.4132, allocations: 0.6303 MB / 0.9533 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003104/0.4135, allocations: 480.8 kB / 0.9538 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00342/0.4169, allocations: 0.896 MB / 0.9547 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004857/0.4218, allocations: 1.885 MB / 0.9565 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009114/0.4309, allocations: 3.204 MB / 0.9596 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.335e-05/0.4309, allocations: 4 kB / 0.9596 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0176/0.4485, allocations: 4.942 MB / 0.9645 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.4486, allocations: 12 kB / 0.9645 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/0.4486, allocations: 20 kB / 0.9645 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01327/0.4619, allocations: 2.912 MB / 0.9673 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.4638, allocations: 399.4 kB / 0.9677 GB, free: 336 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04173/0.5055, allocations: 23.12 MB / 0.9903 GB, free: 8.469 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.5083, allocations: 163.8 kB / 0.9904 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/0.5086, allocations: 108 kB / 0.9906 GB, free: 8.203 MB / 0.948 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.00167/0.5103, allocations: 0.496 MB / 0.991 GB, free: 7.695 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008047/0.5111, allocations: 406.1 kB / 0.9914 GB, free: 7.297 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.5238, allocations: 4.438 MB / 0.9958 GB, free: 2.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.5238, allocations: 24 kB / 0.9958 GB, free: 2.746 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.465e-05/0.5239, allocations: 35.94 kB / 0.9958 GB, free: 2.711 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.281e-05/0.5239, allocations: 15.89 kB / 0.9958 GB, free: 2.695 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/0.5484, allocations: 9.948 MB / 1.006 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/0.5484, allocations: 8.125 kB / 1.006 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.5495, allocations: 235.6 kB / 1.006 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01164/0.5611, allocations: 2.671 MB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/0.5614, allocations: 52 kB / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04007/0.6015, allocations: 22.66 MB / 1.031 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-05/0.6015, allocations: 15.92 kB / 1.031 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.6131, allocations: 4.474 MB / 1.035 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/0.6155, allocations: 0.6541 MB / 1.036 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/0.6161, allocations: 55.95 kB / 1.036 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/0.6179, allocations: 171.8 kB / 1.036 GB, free: 8.535 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008917/0.6188, allocations: 265.2 kB / 1.036 GB, free: 8.273 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004411/0.6193, allocations: 79.98 kB / 1.036 GB, free: 8.195 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002364/0.6216, allocations: 1.463 MB / 1.038 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6216, allocations: 3.938 kB / 1.038 GB, free: 6.719 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004421/0.626, allocations: 1.375 MB / 1.039 GB, free: 5.344 MB / 0.9948 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.0003905/0.6264, allocations: 175 kB / 1.039 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01128/0.6377, allocations: 5.234 MB / 1.044 GB, free: 15.79 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.6377, allocations: 0 / 1.044 GB, free: 15.79 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008032/0.6458, allocations: 3.935 MB / 1.048 GB, free: 11.74 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004458/0.6502, allocations: 1.008 MB / 1.049 GB, free: 10.77 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.6683, allocations: 9.149 MB / 1.058 GB, free: 1.461 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3252/0.9936, allocations: 2.812 MB / 1.061 GB, free: 273.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00167/0.9952, allocations: 467.7 kB / 1.061 GB, free: 273.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.9956, allocations: 149.2 kB / 1.061 GB, free: 273.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.263e-06/0.9956, allocations: 0 / 1.061 GB, free: 273.8 MB / 1.01 GB Notification: Performance of Templates: time 0.1015/1.097, allocations: 76.58 MB / 1.136 GB, free: 247 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] 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: 10.882722305017523]