Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001525/0.001525, allocations: 111.2 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.001785/0.001785, 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.522/1.522, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.693/2.693, allocations: 443.4 MB / 0.7304 GB, free: 14.09 MB / 0.5762 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 71.86 kB / 1.059 GB, free: 456 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3857, allocations: 160.7 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02214/0.4079, allocations: 15.33 MB / 1.231 GB, free: 16 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.427, allocations: 10.71 MB / 1.242 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.4294, allocations: 55.69 kB / 1.242 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005882/0.4353, allocations: 1.758 MB / 1.243 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008241/0.4435, allocations: 1.851 MB / 1.245 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.4466, allocations: 0.7714 MB / 1.246 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005936/0.4525, allocations: 2.742 MB / 1.249 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/0.455, allocations: 1.017 MB / 1.25 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.4581, allocations: 1.523 MB / 1.251 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.461, allocations: 1.226 MB / 1.252 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000641/0.4616, allocations: 160 kB / 1.252 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.4642, allocations: 0.8033 MB / 1.253 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.4654, allocations: 0.6269 MB / 1.254 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.4675, allocations: 0.9561 MB / 1.255 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005172/0.4727, allocations: 2.775 MB / 1.257 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4727, allocations: 0 / 1.257 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4727, allocations: 4 kB / 1.257 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001018/0.4728, allocations: 0 / 1.257 GB, free: 4.93 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005597/0.4784, allocations: 2.226 MB / 1.26 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4784, allocations: 12.03 kB / 1.26 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.4905, allocations: 2.113 MB / 1.262 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7361/1.227, allocations: 1.319 MB / 1.263 GB, free: 47.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/1.227, allocations: 88.78 kB / 1.263 GB, free: 47.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/1.227, allocations: 119.5 kB / 1.263 GB, free: 47.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005159/1.232, allocations: 2.665 MB / 1.266 GB, free: 47.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/1.232, allocations: 10.5 kB / 1.266 GB, free: 47.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/1.232, allocations: 53.25 kB / 1.266 GB, free: 47.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005819/1.233, allocations: 196 kB / 1.266 GB, free: 47.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007196/1.24, allocations: 2.794 MB / 1.269 GB, free: 47.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/1.257, allocations: 10.47 MB / 1.279 GB, free: 40.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007158/1.264, allocations: 2.253 MB / 1.281 GB, free: 40.29 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/1.267, allocations: 1.2 MB / 1.282 GB, free: 39.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.267, allocations: 9.938 kB / 1.282 GB, free: 39.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/1.267, allocations: 44.91 kB / 1.282 GB, free: 39.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.625e-06/1.267, allocations: 1.781 kB / 1.282 GB, free: 39.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153): time 0.06204/1.33, allocations: 16.46 MB / 1.298 GB, free: 36.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/1.33, allocations: 68.52 kB / 1.299 GB, free: 36.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/1.332, allocations: 1.169 MB / 1.3 GB, free: 35.56 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004176/1.332, allocations: 51.95 kB / 1.3 GB, free: 35.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/1.333, allocations: 0.7594 MB / 1.3 GB, free: 34.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000624/1.333, allocations: 0.538 MB / 1.301 GB, free: 34.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006828/1.334, allocations: 289.8 kB / 1.301 GB, free: 34.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.113e-05/1.334, allocations: 302.2 kB / 1.302 GB, free: 34.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003849/1.338, allocations: 1.509 MB / 1.303 GB, free: 33.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004499/1.342, allocations: 1.778 MB / 1.305 GB, free: 32.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007595/1.35, allocations: 3.372 MB / 1.308 GB, free: 31.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/1.35, allocations: 2.375 kB / 1.308 GB, free: 31.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01426/1.364, allocations: 5.22 MB / 1.313 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/1.364, allocations: 8.969 kB / 1.313 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.364, allocations: 7.125 kB / 1.313 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00705/1.371, allocations: 1.875 MB / 1.315 GB, free: 27.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.373, allocations: 420.1 kB / 1.315 GB, free: 27.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0259/1.399, allocations: 24.15 MB / 1.339 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/1.402, allocations: 307.7 kB / 1.339 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/1.403, allocations: 70.95 kB / 1.339 GB, free: 8.305 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009621/1.404, allocations: 459.1 kB / 1.34 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/1.404, allocations: 194.6 kB / 1.34 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.416, allocations: 5.25 MB / 1.345 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/1.416, allocations: 19.53 kB / 1.345 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.018e-05/1.416, allocations: 20.88 kB / 1.345 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/1.416, allocations: 7.969 kB / 1.345 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/1.432, allocations: 7.347 MB / 1.352 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.432, allocations: 4 kB / 1.352 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.433, allocations: 355.7 kB / 1.353 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006265/1.44, allocations: 1.7 MB / 1.354 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/1.44, allocations: 43.97 kB / 1.354 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03147/1.471, allocations: 23.34 MB / 1.377 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.471, allocations: 4 kB / 1.377 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.484, allocations: 4.824 MB / 1.382 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.486, allocations: 499.7 kB / 1.382 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/1.486, allocations: 39.92 kB / 1.382 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.488, allocations: 315.5 kB / 1.383 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005696/1.489, allocations: 153 kB / 1.383 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.489, allocations: 55.97 kB / 1.383 GB, free: 14.82 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001211/1.49, allocations: 0.7899 MB / 1.384 GB, free: 14.04 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.49, allocations: 0 / 1.384 GB, free: 14.04 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003813/1.494, allocations: 0.6523 MB / 1.384 GB, free: 13.38 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004845/1.495, allocations: 139.2 kB / 1.384 GB, free: 13.24 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.508, allocations: 4.932 MB / 1.389 GB, free: 8.203 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/1.508, allocations: 0 / 1.389 GB, free: 8.203 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.007976/1.516, allocations: 3.275 MB / 1.392 GB, free: 4.824 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/1.519, allocations: 0.5609 MB / 1.393 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.529, allocations: 4.362 MB / 1.397 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/1.53, allocations: 1.564 MB / 1.399 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001541/1.532, allocations: 381.9 kB / 1.399 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/1.532, allocations: 111.4 kB / 1.399 GB, free: 13.81 MB / 1.061 GB Notification: Performance of SimCode: time 1.172e-06/1.532, allocations: 0 / 1.399 GB, free: 13.81 MB / 1.061 GB Notification: Performance of Templates: time 0.08945/1.622, allocations: 46.68 MB / 1.445 GB, free: 15.64 MB / 1.107 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.223831200040877]