Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001735/0.001735, allocations: 113 kB / 17.6 MB, free: 4.684 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.001848/0.001848, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.433/1.433, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 1.107 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9384/0.9404, allocations: 168.7 MB / 1.272 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01202/0.9524, allocations: 10.51 MB / 1.282 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006753/0.9592, allocations: 3.256 MB / 1.285 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000878/0.96, allocations: 37.19 kB / 1.285 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.962, allocations: 0.6238 MB / 1.286 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.9639, allocations: 0.7777 MB / 1.287 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.9659, allocations: 0.7607 MB / 1.288 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004072/0.97, allocations: 2.984 MB / 1.29 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.972, allocations: 1.309 MB / 1.292 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.9741, allocations: 1.265 MB / 1.293 GB, free: 10.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.9766, allocations: 1.702 MB / 1.295 GB, free: 10.35 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.977, allocations: 236.1 kB / 1.295 GB, free: 10.35 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.9782, allocations: 0.5063 MB / 1.295 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.9797, allocations: 1.104 MB / 1.296 GB, free: 9.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.9814, allocations: 1.112 MB / 1.298 GB, free: 9.129 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005184/0.9866, allocations: 3.693 MB / 1.301 GB, free: 7.984 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.9866, allocations: 0 / 1.301 GB, free: 7.984 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9866, allocations: 1.406 kB / 1.301 GB, free: 7.984 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.703e-05/0.9867, allocations: 0 / 1.301 GB, free: 7.984 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005183/0.9919, allocations: 2.202 MB / 1.303 GB, free: 6.633 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.9919, allocations: 9.656 kB / 1.303 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008707/1.001, allocations: 1.322 MB / 1.305 GB, free: 6.457 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/1.004, allocations: 1.305 MB / 1.306 GB, free: 5.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.004, allocations: 111.6 kB / 1.306 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005468/1.005, allocations: 154.2 kB / 1.306 GB, free: 5.645 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007401/1.012, allocations: 3.431 MB / 1.309 GB, free: 4.348 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/1.012, allocations: 7.219 kB / 1.309 GB, free: 4.344 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/1.012, allocations: 66.28 kB / 1.31 GB, free: 4.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003157/1.013, allocations: 205.7 kB / 1.31 GB, free: 4.266 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005791/1.018, allocations: 3.125 MB / 1.313 GB, free: 3.262 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02314/1.042, allocations: 13.56 MB / 1.326 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/1.044, allocations: 1.622 MB / 1.328 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/1.046, allocations: 1.328 MB / 1.329 GB, free: 9.219 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/1.047, allocations: 11.72 kB / 1.329 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/1.047, allocations: 43.61 kB / 1.329 GB, free: 9.168 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 2.785e-06/1.047, allocations: 1.281 kB / 1.329 GB, free: 9.168 MB / 1.029 GB Notification: Performance of matching and sorting (n=183): time 0.141/1.188, allocations: 36.57 MB / 1.365 GB, free: 4.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/1.188, allocations: 73.41 kB / 1.365 GB, free: 4.895 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/1.189, allocations: 1.05 MB / 1.366 GB, free: 3.82 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002908/1.19, allocations: 57.69 kB / 1.366 GB, free: 3.758 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006223/1.19, allocations: 0.8054 MB / 1.367 GB, free: 2.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007107/1.191, allocations: 0.6623 MB / 1.367 GB, free: 2.273 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000834/1.192, allocations: 367.5 kB / 1.368 GB, free: 1.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.192, allocations: 301.1 kB / 1.368 GB, free: 1.613 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/1.195, allocations: 1.928 MB / 1.37 GB, free: 15.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003273/1.198, allocations: 2.289 MB / 1.372 GB, free: 13.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006678/1.205, allocations: 4.39 MB / 1.376 GB, free: 8.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.205, allocations: 4 kB / 1.376 GB, free: 8.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02139/1.226, allocations: 8.872 MB / 1.385 GB, free: 15.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/1.226, allocations: 16.06 kB / 1.385 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/1.226, allocations: 8 kB / 1.385 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01717/1.243, allocations: 4.972 MB / 1.39 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.244, allocations: 195.7 kB / 1.39 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06434/1.309, allocations: 38.93 MB / 1.428 GB, free: 3.133 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.311, allocations: 107.8 kB / 1.428 GB, free: 3.027 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/1.311, allocations: 68 kB / 1.428 GB, free: 2.961 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001615/1.313, allocations: 0.8017 MB / 1.429 GB, free: 2.148 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003788/1.313, allocations: 151.1 kB / 1.429 GB, free: 2 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02091/1.334, allocations: 8.734 MB / 1.438 GB, free: 9.23 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/1.334, allocations: 20 kB / 1.438 GB, free: 9.211 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.044e-05/1.334, allocations: 28 kB / 1.438 GB, free: 9.184 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.082e-05/1.334, allocations: 11.95 kB / 1.438 GB, free: 9.172 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02915/1.363, allocations: 13.25 MB / 1.451 GB, free: 11.76 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/1.364, allocations: 4 kB / 1.451 GB, free: 11.76 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/1.364, allocations: 119.8 kB / 1.451 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01767/1.382, allocations: 4.841 MB / 1.456 GB, free: 6.789 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005265/1.382, allocations: 32 kB / 1.456 GB, free: 6.758 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06272/1.445, allocations: 36.85 MB / 1.492 GB, free: 1.312 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.445, allocations: 8 kB / 1.492 GB, free: 1.305 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0214/1.466, allocations: 8.456 MB / 1.5 GB, free: 8.758 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/1.468, allocations: 0.6444 MB / 1.5 GB, free: 8.094 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/1.469, allocations: 39.94 kB / 1.5 GB, free: 8.055 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.47, allocations: 95.88 kB / 1.501 GB, free: 7.961 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009112/1.471, allocations: 157.7 kB / 1.501 GB, free: 7.809 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.471, allocations: 48 kB / 1.501 GB, free: 7.762 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001179/1.472, allocations: 0.7382 MB / 1.501 GB, free: 7.012 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/1.472, allocations: 0 / 1.501 GB, free: 7.012 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003337/1.475, allocations: 1.004 MB / 1.502 GB, free: 6.008 MB / 1.186 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003327/1.476, allocations: 147.9 kB / 1.503 GB, free: 5.855 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.486, allocations: 5.736 MB / 1.508 GB, free: 72 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.486, allocations: 0 / 1.508 GB, free: 72 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008659/1.495, allocations: 3.784 MB / 1.512 GB, free: 12.23 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.497, allocations: 252.1 kB / 1.512 GB, free: 11.99 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/1.506, allocations: 5.197 MB / 1.517 GB, free: 6.746 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/1.509, allocations: 1.859 MB / 1.519 GB, free: 4.848 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001011/1.51, allocations: 351.4 kB / 1.519 GB, free: 4.5 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/1.51, allocations: 63.42 kB / 1.519 GB, free: 4.438 MB / 1.201 GB Notification: Performance of SimCode: time 1.483e-06/1.51, allocations: 0 / 1.519 GB, free: 4.438 MB / 1.201 GB Notification: Performance of Templates: time 0.0972/1.607, allocations: 62.75 MB / 1.581 GB, free: 5.793 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 10.198072300292552]