Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001594/0.001594, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001715/0.001715, allocations: 188.6 kB / 22.22 MB, free: 5.105 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.434/1.434, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.168/3.168, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.62 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01342/0.3524, allocations: 10.5 MB / 1.326 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006074/0.3585, allocations: 3.256 MB / 1.329 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.3592, allocations: 51.62 kB / 1.33 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.361, allocations: 0.6179 MB / 1.33 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.3628, allocations: 0.7818 MB / 1.331 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.3646, allocations: 0.7484 MB / 1.332 GB, free: 9.672 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003658/0.3682, allocations: 2.996 MB / 1.335 GB, free: 6.664 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.3703, allocations: 1.299 MB / 1.336 GB, free: 5.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.3723, allocations: 1.281 MB / 1.337 GB, free: 4.035 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002609/0.3749, allocations: 1.702 MB / 1.339 GB, free: 2.328 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004137/0.3753, allocations: 236 kB / 1.339 GB, free: 2.098 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3764, allocations: 0.5072 MB / 1.339 GB, free: 1.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.3775, allocations: 1.103 MB / 1.341 GB, free: 496 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.3789, allocations: 1.12 MB / 1.342 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004272/0.3832, allocations: 3.683 MB / 1.345 GB, free: 11.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3832, allocations: 4 kB / 1.345 GB, free: 11.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3832, allocations: 0 / 1.345 GB, free: 11.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.681e-05/0.3833, allocations: 0 / 1.345 GB, free: 11.66 MB / 1.045 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.004469/0.3878, allocations: 2.119 MB / 1.347 GB, free: 9.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3878, allocations: 8.031 kB / 1.347 GB, free: 9.492 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008464/0.3963, allocations: 1.33 MB / 1.349 GB, free: 8.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.399, allocations: 1.254 MB / 1.35 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.3991, allocations: 111.4 kB / 1.35 GB, free: 6.773 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004237/0.3995, allocations: 160.3 kB / 1.35 GB, free: 6.617 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006131/0.4057, allocations: 3.441 MB / 1.353 GB, free: 3.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.4057, allocations: 0 / 1.353 GB, free: 3.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.4059, allocations: 71.95 kB / 1.354 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003437/0.4063, allocations: 203.1 kB / 1.354 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005203/0.4115, allocations: 3.127 MB / 1.357 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0202/0.4317, allocations: 13.47 MB / 1.37 GB, free: 1.332 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.4343, allocations: 1.615 MB / 1.371 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.4364, allocations: 1.331 MB / 1.373 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.4365, allocations: 9 kB / 1.373 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4365, allocations: 51.55 kB / 1.373 GB, free: 14.31 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.908e-06/0.4365, allocations: 3.938 kB / 1.373 GB, free: 14.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1376/0.5742, allocations: 36.19 MB / 1.408 GB, free: 10.08 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.5742, allocations: 69.41 kB / 1.408 GB, free: 9.996 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.576, allocations: 1.058 MB / 1.409 GB, free: 8.914 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/0.5764, allocations: 53.7 kB / 1.409 GB, free: 8.855 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/0.577, allocations: 0.8093 MB / 1.41 GB, free: 8.035 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007802/0.5778, allocations: 0.6545 MB / 1.411 GB, free: 7.375 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009266/0.5787, allocations: 367.5 kB / 1.411 GB, free: 7.012 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5788, allocations: 305.1 kB / 1.411 GB, free: 6.711 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/0.5818, allocations: 1.928 MB / 1.413 GB, free: 4.781 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/0.5851, allocations: 2.285 MB / 1.416 GB, free: 2.367 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006229/0.5913, allocations: 4.394 MB / 1.42 GB, free: 13.85 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.5914, allocations: 8 kB / 1.42 GB, free: 13.84 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02162/0.613, allocations: 8.875 MB / 1.428 GB, free: 4.941 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.613, allocations: 11.94 kB / 1.428 GB, free: 4.93 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.613, allocations: 8 kB / 1.428 GB, free: 4.922 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01766/0.6307, allocations: 4.972 MB / 1.433 GB, free: 15.93 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/0.6316, allocations: 199.6 kB / 1.434 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06583/0.6974, allocations: 38.53 MB / 1.471 GB, free: 8.727 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.6993, allocations: 103.9 kB / 1.471 GB, free: 8.625 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/0.6996, allocations: 68 kB / 1.471 GB, free: 8.559 MB / 1.17 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.001635/0.7012, allocations: 0.8056 MB / 1.472 GB, free: 7.742 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004163/0.7017, allocations: 143.1 kB / 1.472 GB, free: 7.602 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02175/0.7234, allocations: 8.741 MB / 1.481 GB, free: 14.82 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.7234, allocations: 19.98 kB / 1.481 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.119e-05/0.7235, allocations: 32 kB / 1.481 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/0.7236, allocations: 7.969 kB / 1.481 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03035/0.7539, allocations: 13.25 MB / 1.494 GB, free: 1.367 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/0.7539, allocations: 4 kB / 1.494 GB, free: 1.363 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.7545, allocations: 116.3 kB / 1.494 GB, free: 1.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01731/0.7718, allocations: 4.844 MB / 1.499 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003429/0.7721, allocations: 36 kB / 1.499 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06078/0.8329, allocations: 36.44 MB / 1.534 GB, free: 7.426 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/0.8329, allocations: 7.938 kB / 1.534 GB, free: 7.418 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/0.8534, allocations: 8.452 MB / 1.543 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/0.8551, allocations: 0.577 MB / 1.543 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.8554, allocations: 35.94 kB / 1.543 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.8566, allocations: 99.89 kB / 1.543 GB, free: 14.17 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008086/0.8574, allocations: 165.5 kB / 1.543 GB, free: 14.01 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.8575, allocations: 48 kB / 1.543 GB, free: 13.96 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001122/0.8587, allocations: 0.746 MB / 1.544 GB, free: 13.2 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.8587, allocations: 0 / 1.544 GB, free: 13.2 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003023/0.8617, allocations: 1.008 MB / 1.545 GB, free: 12.2 MB / 1.248 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.0003222/0.862, allocations: 148.9 kB / 1.545 GB, free: 12.04 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01064/0.8726, allocations: 5.747 MB / 1.551 GB, free: 6.238 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.8727, allocations: 0 / 1.551 GB, free: 6.238 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.008491/0.8811, allocations: 3.782 MB / 1.555 GB, free: 2.41 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.8829, allocations: 237.2 kB / 1.555 GB, free: 2.184 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009328/0.8922, allocations: 5.195 MB / 1.56 GB, free: 12.93 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.8942, allocations: 1.851 MB / 1.562 GB, free: 11.04 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008781/0.8951, allocations: 355.4 kB / 1.562 GB, free: 10.69 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.8953, allocations: 63.44 kB / 1.562 GB, free: 10.63 MB / 1.264 GB Notification: Performance of SimCode: time 1.233e-06/0.8953, allocations: 0 / 1.562 GB, free: 10.63 MB / 1.264 GB Notification: Performance of Templates: time 0.6804/1.576, allocations: 63.48 MB / 1.624 GB, free: 268.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.75520477257669]