Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007638/0.0007638, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.00181, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006887/0.0006887, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001695, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9593/0.9593, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09051/1.05, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.286/2.286, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2235/2.509, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.405e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02142/0.02144, allocations: 20.5 MB / 0.839 GB, free: 13.86 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.03669, allocations: 10.52 MB / 0.8492 GB, free: 3.312 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.03838, allocations: 210.4 kB / 0.8494 GB, free: 3.105 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.03978, allocations: 0.9073 MB / 0.8503 GB, free: 2.191 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00442/0.0442, allocations: 3.172 MB / 0.8534 GB, free: 15 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.04678, allocations: 1.845 MB / 0.8552 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.007791/0.05457, allocations: 9.951 MB / 0.8649 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005112/0.05968, allocations: 5.486 MB / 0.8703 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006232/0.06591, allocations: 6.296 MB / 0.8765 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004171/0.07009, allocations: 4.372 MB / 0.8807 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0007748/0.07086, allocations: 0.707 MB / 0.8814 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.0721, allocations: 0.8044 MB / 0.8822 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.07392, allocations: 2.865 MB / 0.885 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.07559, allocations: 2.005 MB / 0.887 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.003866/0.07945, allocations: 5.492 MB / 0.8923 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.07947, allocations: 0 / 0.8923 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.07947, allocations: 0 / 0.8923 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.803e-05/0.07955, allocations: 0 / 0.8923 GB, free: 6.914 MB / 0.8698 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.006113/0.08566, allocations: 6.902 MB / 0.8991 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.0857, allocations: 12.03 kB / 0.8991 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.08893, allocations: 1.581 MB / 0.9006 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.09197, allocations: 2.694 MB / 0.9032 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.09216, allocations: 374.4 kB / 0.9036 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004997/0.09266, allocations: 0.5003 MB / 0.9041 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.09711, allocations: 4.873 MB / 0.9088 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.314e-05/0.0972, allocations: 31.7 kB / 0.9089 GB, free: 5.34 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/0.09752, allocations: 216 kB / 0.9091 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000443/0.09796, allocations: 353.7 kB / 0.9094 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.09988, allocations: 1.3 MB / 0.9107 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.1131, allocations: 16.67 MB / 0.927 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.1139, allocations: 0.8038 MB / 0.9278 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/0.1145, allocations: 0.6161 MB / 0.9284 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.748e-05/0.1146, allocations: 30 kB / 0.9284 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1146, allocations: 56.56 kB / 0.9284 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=171): time 2.975e-06/0.1147, allocations: 0 / 0.9284 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of matching and sorting (n=174): time 0.01231/0.127, allocations: 6.671 MB / 0.935 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.127, allocations: 69.41 kB / 0.935 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.1281, allocations: 1.683 MB / 0.9367 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.654e-05/0.1282, allocations: 53.7 kB / 0.9367 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007166/0.1289, allocations: 1.994 MB / 0.9387 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.1292, allocations: 0.6312 MB / 0.9393 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/0.1296, allocations: 359.7 kB / 0.9396 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.1297, allocations: 305.1 kB / 0.9399 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.13, allocations: 256.2 kB / 0.9402 GB, free: 4.684 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.1306, allocations: 0.8327 MB / 0.941 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.1317, allocations: 1.377 MB / 0.9423 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/0.1317, allocations: 8 kB / 0.9423 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002479/0.1342, allocations: 1.986 MB / 0.9443 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1342, allocations: 15.94 kB / 0.9443 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.1342, allocations: 16 kB / 0.9443 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.1367, allocations: 1.238 MB / 0.9455 GB, free: 14.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.1375, allocations: 383.4 kB / 0.9459 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/0.1446, allocations: 7.675 MB / 0.9534 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/0.1455, allocations: 59.98 kB / 0.9534 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.1457, allocations: 72 kB / 0.9535 GB, free: 6.223 MB / 0.9323 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008043/0.1465, allocations: 236.1 kB / 0.9537 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.1467, allocations: 239.7 kB / 0.9539 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.149, allocations: 1.759 MB / 0.9557 GB, free: 3.957 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.149, allocations: 19.94 kB / 0.9557 GB, free: 3.938 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.149, allocations: 16 kB / 0.9557 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.149, allocations: 15.95 kB / 0.9557 GB, free: 3.906 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/0.1536, allocations: 3.622 MB / 0.9592 GB, free: 196 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1536, allocations: 4 kB / 0.9592 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.1541, allocations: 191.8 kB / 0.9594 GB, free: 0 / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.1546, allocations: 366.1 kB / 0.9598 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/0.157, allocations: 1.192 MB / 0.9609 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.1571, allocations: 32.12 kB / 0.961 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006893/0.164, allocations: 7.65 MB / 0.9684 GB, free: 6.461 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.164, allocations: 4 kB / 0.9684 GB, free: 6.457 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.1662, allocations: 1.89 MB / 0.9703 GB, free: 4.484 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.1664, allocations: 31.94 kB / 0.9703 GB, free: 4.453 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.1669, allocations: 40 kB / 0.9704 GB, free: 4.414 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.1671, allocations: 160.9 kB / 0.9705 GB, free: 4.258 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/0.1672, allocations: 40 kB / 0.9706 GB, free: 4.219 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005641/0.1678, allocations: 0.8469 MB / 0.9714 GB, free: 3.359 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1678, allocations: 0 / 0.9714 GB, free: 3.359 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001758/0.1695, allocations: 1.082 MB / 0.9724 GB, free: 2.277 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.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.000183/0.1697, allocations: 132.2 kB / 0.9726 GB, free: 2.137 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.1721, allocations: 2.191 MB / 0.9747 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.506e-05/0.1722, allocations: 53.67 kB / 0.9748 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.1738, allocations: 1.651 MB / 0.9764 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/0.1778, allocations: 9.691 MB / 0.9858 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03433/0.2121, allocations: 8.204 MB / 0.9938 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.2133, allocations: 1.242 MB / 0.9951 GB, free: 8.93 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001176/0.2145, allocations: 335.3 kB / 0.9954 GB, free: 8.598 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.2156, allocations: 0.745 MB / 0.9961 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of SimCode: time 1.853e-06/0.2156, allocations: 0 / 0.9961 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of Templates: time 0.4275/0.6432, allocations: 60.68 MB / 1.055 GB, free: 158.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.363452563993633]