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.00164/0.00164, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001839/0.001839, allocations: 173.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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 2.906/2.906, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] 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.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_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.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.927e-05, allocations: 6.219 kB / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04245/0.04248, allocations: 31.11 MB / 1.031 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02591/0.06838, allocations: 14.3 MB / 1.044 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003772/0.07216, allocations: 210.4 kB / 1.045 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.08311, allocations: 3.676 MB / 1.048 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009311/0.09242, allocations: 3.071 MB / 1.051 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006688/0.09911, allocations: 2.359 MB / 1.054 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01538/0.1145, allocations: 9.016 MB / 1.062 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.126, allocations: 5.495 MB / 1.068 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/0.1376, allocations: 5.695 MB / 1.073 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007507/0.1451, allocations: 3.663 MB / 1.077 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001909/0.147, allocations: 0.7109 MB / 1.078 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004417/0.1514, allocations: 1.63 MB / 1.079 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004147/0.1556, allocations: 3.016 MB / 1.082 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004939/0.1605, allocations: 2.362 MB / 1.084 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.1754, allocations: 11.37 MB / 1.096 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1754, allocations: 0 / 1.096 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1754, allocations: 0 / 1.096 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002792/0.1756, allocations: 0 / 1.096 GB, free: 4.125 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.5205/0.6961, allocations: 5.976 MB / 1.101 GB, free: 102 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6962, allocations: 13.36 kB / 1.101 GB, free: 102 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007174/0.7034, allocations: 1.179 MB / 1.103 GB, free: 101.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00804/0.7114, allocations: 3.444 MB / 1.106 GB, free: 100 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003256/0.7117, allocations: 376.3 kB / 1.106 GB, free: 99.85 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.7129, allocations: 494.6 kB / 1.107 GB, free: 99.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.7282, allocations: 8.71 MB / 1.115 GB, free: 95.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.7284, allocations: 23.97 kB / 1.115 GB, free: 95.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000547/0.7289, allocations: 215.1 kB / 1.115 GB, free: 95.37 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/0.7301, allocations: 438.7 kB / 1.116 GB, free: 95.33 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.741, allocations: 6.078 MB / 1.122 GB, free: 93.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02896/0.77, allocations: 21.2 MB / 1.143 GB, free: 80 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.7726, allocations: 1.903 MB / 1.144 GB, free: 79.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.775, allocations: 1.749 MB / 1.146 GB, free: 78.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.7751, allocations: 19 kB / 1.146 GB, free: 78.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.7751, allocations: 57.42 kB / 1.146 GB, free: 78.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=171): time 4.548e-06/0.7751, allocations: 5.297 kB / 1.146 GB, free: 78.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=276): time 0.1497/0.9248, allocations: 38.68 MB / 1.184 GB, free: 48.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.9249, allocations: 81.52 kB / 1.184 GB, free: 48.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.9271, allocations: 2.036 MB / 1.186 GB, free: 46.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003221/0.9275, allocations: 69.7 kB / 1.186 GB, free: 46.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008542/0.9283, allocations: 2.347 MB / 1.188 GB, free: 43.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/0.9289, allocations: 0.9664 MB / 1.189 GB, free: 42.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008327/0.9297, allocations: 0.5024 MB / 1.19 GB, free: 42.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.9297, allocations: 301.1 kB / 1.19 GB, free: 42.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/0.932, allocations: 1.977 MB / 1.192 GB, free: 40.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.9345, allocations: 2.599 MB / 1.195 GB, free: 37.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005053/0.9396, allocations: 4.937 MB / 1.199 GB, free: 32.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.9396, allocations: 8 kB / 1.199 GB, free: 32.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01249/0.9521, allocations: 7.623 MB / 1.207 GB, free: 24.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.9521, allocations: 12 kB / 1.207 GB, free: 24.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.9521, allocations: 16 kB / 1.207 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008578/0.9607, allocations: 3.212 MB / 1.21 GB, free: 21.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.9624, allocations: 395.4 kB / 1.21 GB, free: 20.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04129/1.004, allocations: 32.56 MB / 1.242 GB, free: 3.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/1.007, allocations: 167.8 kB / 1.242 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003103/1.007, allocations: 108 kB / 1.242 GB, free: 3.352 MB / 1.014 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.003548/1.011, allocations: 1.794 MB / 1.244 GB, free: 1.547 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007309/1.011, allocations: 322 kB / 1.244 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/1.027, allocations: 7.226 MB / 1.252 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/1.027, allocations: 28 kB / 1.252 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.123e-05/1.027, allocations: 28.25 kB / 1.252 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.605e-05/1.027, allocations: 15.95 kB / 1.252 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02519/1.053, allocations: 11.41 MB / 1.263 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/1.053, allocations: 8.844 kB / 1.263 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.054, allocations: 231.6 kB / 1.263 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009156/1.063, allocations: 2.83 MB / 1.266 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003011/1.063, allocations: 63.92 kB / 1.266 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05198/1.115, allocations: 31.34 MB / 1.296 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.619e-06/1.115, allocations: 7.938 kB / 1.296 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.13, allocations: 6.742 MB / 1.303 GB, free: 4.277 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/1.132, allocations: 0.697 MB / 1.304 GB, free: 3.578 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007474/1.133, allocations: 48 kB / 1.304 GB, free: 3.531 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/1.135, allocations: 175.7 kB / 1.304 GB, free: 3.359 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009761/1.136, allocations: 265.3 kB / 1.304 GB, free: 3.102 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/1.136, allocations: 76 kB / 1.304 GB, free: 3.027 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002222/1.139, allocations: 1.33 MB / 1.306 GB, free: 1.688 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/1.139, allocations: 3.938 kB / 1.306 GB, free: 1.684 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004546/1.143, allocations: 1.363 MB / 1.307 GB, free: 328 kB / 1.076 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.0004412/1.143, allocations: 175 kB / 1.307 GB, free: 144 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01284/1.156, allocations: 6.55 MB / 1.313 GB, free: 9.504 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/1.156, allocations: 4 kB / 1.313 GB, free: 9.5 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.008798/1.165, allocations: 4.253 MB / 1.318 GB, free: 5.164 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/1.17, allocations: 1.017 MB / 1.319 GB, free: 4.188 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.189, allocations: 10.33 MB / 1.329 GB, free: 9.777 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004876/1.194, allocations: 3.107 MB / 1.332 GB, free: 6.637 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002036/1.196, allocations: 0.5259 MB / 1.332 GB, free: 6.105 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/1.197, allocations: 148.5 kB / 1.332 GB, free: 5.961 MB / 1.107 GB Notification: Performance of SimCode: time 1.152e-06/1.197, allocations: 4 kB / 1.332 GB, free: 5.957 MB / 1.107 GB Notification: Performance of Templates: time 0.1326/1.329, allocations: 75.24 MB / 1.406 GB, free: 12.02 MB / 1.186 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.219718299806118]