Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0008168/0.0008168, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007927/0.0007927, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.856/0.856, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.728/1.728, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.ThreePhasesBalanced.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 1.001 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.928e-05, allocations: 2.281 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.009748/0.009767, allocations: 13.09 MB / 1.014 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.007983/0.01775, allocations: 8.994 MB / 1.022 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.01824, allocations: 91.19 kB / 1.023 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.02018, allocations: 1.675 MB / 1.024 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.0222, allocations: 1.624 MB / 1.026 GB, free: 2.328 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.02314, allocations: 0.7745 MB / 1.027 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.4821/0.5052, allocations: 2.591 MB / 1.029 GB, free: 18.82 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.5071, allocations: 1.181 MB / 1.03 GB, free: 18.72 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.5092, allocations: 1.58 MB / 1.032 GB, free: 18.72 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.5106, allocations: 0.9602 MB / 1.033 GB, free: 18.64 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.5108, allocations: 160.5 kB / 1.033 GB, free: 18.64 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.5123, allocations: 0.7343 MB / 1.034 GB, free: 18.6 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005938/0.5129, allocations: 0.6479 MB / 1.034 GB, free: 18.51 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000684/0.5136, allocations: 0.6412 MB / 1.035 GB, free: 18.43 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.5166, allocations: 2.767 MB / 1.038 GB, free: 18.24 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5166, allocations: 1.578 kB / 1.038 GB, free: 18.24 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5166, allocations: 0.75 kB / 1.038 GB, free: 18.24 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.288e-05/0.5167, allocations: 0 / 1.038 GB, free: 18.24 MB / 0.9323 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.002932/0.5196, allocations: 2.098 MB / 1.04 GB, free: 17.24 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5196, allocations: 11.16 kB / 1.04 GB, free: 17.24 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00613/0.5258, allocations: 2.099 MB / 1.042 GB, free: 17.13 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.5275, allocations: 1.175 MB / 1.043 GB, free: 16.74 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.5276, allocations: 90.16 kB / 1.043 GB, free: 16.73 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.5278, allocations: 120.7 kB / 1.043 GB, free: 16.73 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/0.5318, allocations: 2.884 MB / 1.046 GB, free: 16.07 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.5318, allocations: 12.66 kB / 1.046 GB, free: 16.06 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.532, allocations: 61.72 kB / 1.046 GB, free: 16.04 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00041/0.5324, allocations: 180.7 kB / 1.046 GB, free: 16.02 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004603/0.537, allocations: 2.793 MB / 1.049 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008463/0.5455, allocations: 8.114 MB / 1.057 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004049/0.5495, allocations: 2.225 MB / 1.059 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.5514, allocations: 1.207 MB / 1.06 GB, free: 9.758 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/0.5515, allocations: 10.3 kB / 1.06 GB, free: 9.758 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.5515, allocations: 48.62 kB / 1.06 GB, free: 9.711 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=89): time 3.487e-06/0.5515, allocations: 0 / 1.06 GB, free: 9.711 MB / 0.9323 GB Notification: Performance of matching and sorting (n=131): time 0.0246/0.5761, allocations: 12.65 MB / 1.072 GB, free: 6.945 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5761, allocations: 68.69 kB / 1.073 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009036/0.577, allocations: 0.9758 MB / 1.073 GB, free: 6.477 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.75e-05/0.5771, allocations: 47.33 kB / 1.074 GB, free: 6.43 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.5774, allocations: 0.7356 MB / 1.074 GB, free: 5.852 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.5776, allocations: 468.8 kB / 1.075 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.5779, allocations: 261 kB / 1.075 GB, free: 5.375 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.5779, allocations: 357.9 kB / 1.075 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.5797, allocations: 1.34 MB / 1.077 GB, free: 4.602 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.5815, allocations: 1.601 MB / 1.078 GB, free: 3.613 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003721/0.5853, allocations: 2.994 MB / 1.081 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5853, allocations: 4.062 kB / 1.081 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006131/0.5914, allocations: 4.384 MB / 1.085 GB, free: 15.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5914, allocations: 9.031 kB / 1.085 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5914, allocations: 6.969 kB / 1.085 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.5942, allocations: 1.431 MB / 1.087 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.5953, allocations: 443.3 kB / 1.087 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/0.6123, allocations: 24.8 MB / 1.111 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.6139, allocations: 298.2 kB / 1.112 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/0.614, allocations: 61.97 kB / 1.112 GB, free: 9.062 MB / 0.9636 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008856/0.6149, allocations: 433 kB / 1.112 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.615, allocations: 156.1 kB / 1.112 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/0.6211, allocations: 4.4 MB / 1.117 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6211, allocations: 12.19 kB / 1.117 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/0.6211, allocations: 15.72 kB / 1.117 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.6211, allocations: 11.16 kB / 1.117 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008181/0.6293, allocations: 6.128 MB / 1.123 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6293, allocations: 7.984 kB / 1.123 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008286/0.6301, allocations: 377.7 kB / 1.123 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/0.6324, allocations: 1.304 MB / 1.124 GB, free: 124 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.234e-05/0.6325, allocations: 39.95 kB / 1.124 GB, free: 84 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.6469, allocations: 23.67 MB / 1.147 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6469, allocations: 8.219 kB / 1.147 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005807/0.6527, allocations: 4.142 MB / 1.151 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.6534, allocations: 370.8 kB / 1.152 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.6535, allocations: 24 kB / 1.152 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/0.6545, allocations: 303.5 kB / 1.152 GB, free: 2.336 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.6548, allocations: 136.2 kB / 1.152 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/0.6549, allocations: 55.91 kB / 1.152 GB, free: 2.152 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006223/0.6555, allocations: 0.6506 MB / 1.153 GB, free: 1.496 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6555, allocations: 3.938 kB / 1.153 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001586/0.6571, allocations: 0.5625 MB / 1.154 GB, free: 0.9297 MB / 0.9948 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002518/0.6573, allocations: 144.2 kB / 1.154 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005788/0.6631, allocations: 4.96 MB / 1.158 GB, free: 11.69 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6631, allocations: 0 / 1.158 GB, free: 11.69 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003454/0.6666, allocations: 3.41 MB / 1.162 GB, free: 8.133 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.6679, allocations: 0.5212 MB / 1.162 GB, free: 7.637 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/0.6733, allocations: 4.131 MB / 1.166 GB, free: 3.449 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.674, allocations: 0.8867 MB / 1.167 GB, free: 2.527 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.6744, allocations: 124.4 kB / 1.167 GB, free: 2.406 MB / 1.01 GB Notification: Performance of SimCode: time 8.92e-07/0.6744, allocations: 0 / 1.167 GB, free: 2.406 MB / 1.01 GB Notification: Performance of Templates: time 0.06352/0.7379, allocations: 112.5 MB / 1.277 GB, free: 2.062 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.858011494390666]