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.002241/0.002241, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.00209/0.00209, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.509/1.509, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.301/3.301, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.723e-06/1.723e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.979e-05, allocations: 4.016 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02107/0.0211, allocations: 14.15 MB / 0.8913 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.03839, allocations: 9.533 MB / 0.9006 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.03981, allocations: 95.19 kB / 0.9007 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.005161/0.04497, allocations: 1.711 MB / 0.9023 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.0503, allocations: 1.636 MB / 0.9039 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.05249, allocations: 0.7559 MB / 0.9047 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00416/0.05665, allocations: 2.605 MB / 0.9072 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.05871, allocations: 1.18 MB / 0.9084 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.06147, allocations: 1.598 MB / 0.9099 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.06351, allocations: 0.9934 MB / 0.9109 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003451/0.06385, allocations: 163.9 kB / 0.9111 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.06551, allocations: 0.7327 MB / 0.9118 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007919/0.0663, allocations: 0.6582 MB / 0.9124 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.06731, allocations: 0.6391 MB / 0.913 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.07134, allocations: 2.784 MB / 0.9158 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.07134, allocations: 0 / 0.9158 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.603e-06/0.07134, allocations: 0 / 0.9158 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.068e-05/0.07138, allocations: 7.938 kB / 0.9158 GB, free: 15.29 MB / 0.8855 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.005088/0.07647, allocations: 2.326 MB / 0.918 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.07652, allocations: 16.02 kB / 0.9181 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.08666, allocations: 1.77 MB / 0.9198 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.08974, allocations: 1.229 MB / 0.921 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/0.08983, allocations: 86.73 kB / 0.9211 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.09012, allocations: 124.4 kB / 0.9212 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0046/0.09472, allocations: 2.099 MB / 0.9232 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.09477, allocations: 11.89 kB / 0.9232 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.09495, allocations: 59.92 kB / 0.9233 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007126/0.09567, allocations: 178.1 kB / 0.9235 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004776/0.1004, allocations: 1.34 MB / 0.9248 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.1158, allocations: 8.865 MB / 0.9334 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.1197, allocations: 0.9991 MB / 0.9344 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/0.1215, allocations: 0.5412 MB / 0.9349 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.1216, allocations: 17 kB / 0.935 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.1216, allocations: 46.39 kB / 0.935 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=89): time 2.815e-06/0.1216, allocations: 0 / 0.935 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of matching and sorting (n=131): time 0.02302/0.1446, allocations: 5.902 MB / 0.9408 GB, free: 5.055 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1447, allocations: 68.7 kB / 0.9408 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.1466, allocations: 1.21 MB / 0.942 GB, free: 3.754 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.1467, allocations: 45.7 kB / 0.9421 GB, free: 3.703 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007927/0.1475, allocations: 0.8322 MB / 0.9429 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/0.1481, allocations: 0.5038 MB / 0.9434 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006549/0.1488, allocations: 293.1 kB / 0.9436 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003602/0.1491, allocations: 0.5746 MB / 0.9442 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.1512, allocations: 0.6245 MB / 0.9448 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.1538, allocations: 1.022 MB / 0.9458 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/0.1582, allocations: 1.722 MB / 0.9475 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.1582, allocations: 0 / 0.9475 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.009353/0.1676, allocations: 2.84 MB / 0.9503 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.1676, allocations: 8 kB / 0.9503 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.1676, allocations: 11.94 kB / 0.9503 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007247/0.1749, allocations: 1.401 MB / 0.9517 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.1766, allocations: 331.4 kB / 0.952 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03273/0.2093, allocations: 27.32 MB / 0.9787 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.2115, allocations: 196 kB / 0.9788 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/0.2118, allocations: 59.97 kB / 0.9789 GB, free: 11.97 MB / 0.948 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.0008941/0.2127, allocations: 308.3 kB / 0.9792 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005856/0.2133, allocations: 199 kB / 0.9794 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009973/0.2233, allocations: 2.696 MB / 0.982 GB, free: 8.703 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.2233, allocations: 16 kB / 0.982 GB, free: 8.688 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-05/0.2234, allocations: 12 kB / 0.982 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-05/0.2234, allocations: 19.89 kB / 0.9821 GB, free: 8.656 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.2378, allocations: 4.423 MB / 0.9864 GB, free: 4.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.2378, allocations: 8 kB / 0.9864 GB, free: 4.082 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.2393, allocations: 271.8 kB / 0.9866 GB, free: 3.816 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00714/0.2464, allocations: 1.319 MB / 0.9879 GB, free: 2.441 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002391/0.2467, allocations: 35.97 kB / 0.988 GB, free: 2.406 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.031/0.2777, allocations: 26.41 MB / 1.014 GB, free: 6.406 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.2777, allocations: 4.156 kB / 1.014 GB, free: 6.402 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009324/0.287, allocations: 2.693 MB / 1.016 GB, free: 3.582 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.2884, allocations: 354.8 kB / 1.017 GB, free: 3.234 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/0.2888, allocations: 24 kB / 1.017 GB, free: 3.211 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.2907, allocations: 195.7 kB / 1.017 GB, free: 3.02 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000519/0.2912, allocations: 136.6 kB / 1.017 GB, free: 2.887 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/0.2914, allocations: 47.97 kB / 1.017 GB, free: 2.84 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001327/0.2927, allocations: 0.7364 MB / 1.018 GB, free: 2.098 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2927, allocations: 0 / 1.018 GB, free: 2.098 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002405/0.2951, allocations: 0.5742 MB / 1.018 GB, free: 1.523 MB / 0.9792 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.0003567/0.2955, allocations: 136.2 kB / 1.019 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01004/0.3055, allocations: 4.38 MB / 1.023 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.3055, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006909/0.3124, allocations: 3.53 MB / 1.026 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.3152, allocations: 0.5212 MB / 1.027 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008305/0.3235, allocations: 3.235 MB / 1.03 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.3249, allocations: 0.8593 MB / 1.031 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001538/0.3264, allocations: 352.3 kB / 1.031 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.3269, allocations: 112.4 kB / 1.031 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of SimCode: time 1.413e-06/0.3269, allocations: 0 / 1.031 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of Templates: time 0.4031/0.73, allocations: 40.84 MB / 1.071 GB, free: 191.8 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] 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: 9.95473886700347]