Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001527/0.001527, allocations: 113.9 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.002386/0.002386, allocations: 188.4 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.452/1.452, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 443.4 MB / 0.7321 GB, free: 12.42 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.89 kB / 1.061 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8309, allocations: 160.8 MB / 1.218 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01541/0.8464, allocations: 10.5 MB / 1.229 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006259/0.8526, allocations: 3.255 MB / 1.232 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008045/0.8534, allocations: 52.88 kB / 1.232 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.8552, allocations: 0.621 MB / 1.233 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.857, allocations: 0.7847 MB / 1.233 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.8587, allocations: 0.7508 MB / 1.234 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003648/0.8623, allocations: 3 MB / 1.237 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.8643, allocations: 1.303 MB / 1.238 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.8661, allocations: 1.278 MB / 1.24 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.8686, allocations: 1.702 MB / 1.241 GB, free: 15.93 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.000441/0.869, allocations: 240 kB / 1.241 GB, free: 15.7 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.8702, allocations: 0.5071 MB / 1.242 GB, free: 15.19 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.8715, allocations: 1.103 MB / 1.243 GB, free: 14.09 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.873, allocations: 1.105 MB / 1.244 GB, free: 12.98 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.004336/0.8774, allocations: 3.698 MB / 1.248 GB, free: 9.273 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8774, allocations: 0 / 1.248 GB, free: 9.273 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8774, allocations: 3.938 kB / 1.248 GB, free: 9.27 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 5.715e-05/0.8774, allocations: 0 / 1.248 GB, free: 9.27 MB / 0.9513 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.00453/0.882, allocations: 2.194 MB / 1.25 GB, free: 7.016 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.882, allocations: 8.031 kB / 1.25 GB, free: 7.008 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008697/0.8907, allocations: 1.322 MB / 1.251 GB, free: 5.684 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/0.8943, allocations: 1.306 MB / 1.252 GB, free: 4.336 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.8944, allocations: 119.3 kB / 1.253 GB, free: 4.219 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004724/0.8948, allocations: 148.3 kB / 1.253 GB, free: 4.074 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006212/0.9011, allocations: 3.441 MB / 1.256 GB, free: 0.5352 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.9011, allocations: 3.938 kB / 1.256 GB, free: 0.5312 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.9013, allocations: 63.97 kB / 1.256 GB, free: 480 kB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002761/0.9016, allocations: 207.1 kB / 1.256 GB, free: 272 kB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005577/0.9072, allocations: 3.131 MB / 1.259 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/0.9282, allocations: 13.57 MB / 1.273 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.931, allocations: 1.626 MB / 1.274 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/0.9331, allocations: 1.327 MB / 1.275 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.9332, allocations: 13 kB / 1.275 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.9333, allocations: 43.56 kB / 1.276 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.035e-06/0.9333, allocations: 0 / 1.276 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.1473/1.081, allocations: 36.56 MB / 1.311 GB, free: 6.961 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.081, allocations: 69.41 kB / 1.311 GB, free: 6.879 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/1.083, allocations: 1.058 MB / 1.312 GB, free: 5.797 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004868/1.084, allocations: 53.7 kB / 1.312 GB, free: 5.738 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/1.085, allocations: 0.8054 MB / 1.313 GB, free: 4.922 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.086, allocations: 0.6545 MB / 1.314 GB, free: 4.262 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/1.088, allocations: 371.5 kB / 1.314 GB, free: 3.895 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.088, allocations: 301.1 kB / 1.314 GB, free: 3.598 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/1.093, allocations: 1.928 MB / 1.316 GB, free: 1.668 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005618/1.098, allocations: 2.289 MB / 1.319 GB, free: 15.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/1.111, allocations: 4.392 MB / 1.323 GB, free: 10.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/1.111, allocations: 4 kB / 1.323 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.04256/1.153, allocations: 8.875 MB / 1.332 GB, free: 1.824 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.154, allocations: 11.94 kB / 1.332 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/1.154, allocations: 12.06 kB / 1.332 GB, free: 1.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02958/1.183, allocations: 4.971 MB / 1.336 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009858/1.184, allocations: 199.6 kB / 1.337 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06547/1.25, allocations: 38.93 MB / 1.375 GB, free: 5.113 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/1.252, allocations: 103.9 kB / 1.375 GB, free: 5.012 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/1.252, allocations: 64 kB / 1.375 GB, free: 4.949 MB / 1.076 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.001532/1.253, allocations: 0.8018 MB / 1.376 GB, free: 4.137 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004305/1.254, allocations: 147.1 kB / 1.376 GB, free: 3.992 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/1.275, allocations: 8.749 MB / 1.384 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/1.275, allocations: 20 kB / 1.384 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.289e-05/1.275, allocations: 35.98 kB / 1.384 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.984e-05/1.275, allocations: 7.969 kB / 1.384 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0299/1.305, allocations: 13.24 MB / 1.397 GB, free: 13.74 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/1.305, allocations: 4 kB / 1.397 GB, free: 13.73 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/1.305, allocations: 123.8 kB / 1.397 GB, free: 13.61 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01711/1.323, allocations: 4.84 MB / 1.402 GB, free: 8.758 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003565/1.323, allocations: 36 kB / 1.402 GB, free: 8.723 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0604/1.383, allocations: 36.84 MB / 1.438 GB, free: 3.301 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.383, allocations: 15.88 kB / 1.438 GB, free: 3.285 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0206/1.404, allocations: 8.445 MB / 1.446 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.406, allocations: 0.656 MB / 1.447 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/1.406, allocations: 35.94 kB / 1.447 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.408, allocations: 95.81 kB / 1.447 GB, free: 9.945 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008161/1.408, allocations: 173.5 kB / 1.447 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.409, allocations: 48 kB / 1.447 GB, free: 9.73 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001181/1.41, allocations: 0.7382 MB / 1.448 GB, free: 8.98 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/1.41, allocations: 0 / 1.448 GB, free: 8.98 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003564/1.413, allocations: 1 MB / 1.449 GB, free: 7.98 MB / 1.154 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.0003536/1.414, allocations: 147.8 kB / 1.449 GB, free: 7.828 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.424, allocations: 5.737 MB / 1.455 GB, free: 2.035 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.424, allocations: 3.938 kB / 1.455 GB, free: 2.031 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.008164/1.432, allocations: 3.773 MB / 1.458 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/1.434, allocations: 243.7 kB / 1.459 GB, free: 13.98 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009334/1.443, allocations: 5.19 MB / 1.464 GB, free: 8.738 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/1.445, allocations: 1.859 MB / 1.466 GB, free: 6.84 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009011/1.446, allocations: 351.4 kB / 1.466 GB, free: 6.492 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/1.446, allocations: 63.36 kB / 1.466 GB, free: 6.43 MB / 1.17 GB Notification: Performance of SimCode: time 1.133e-06/1.446, allocations: 0 / 1.466 GB, free: 6.43 MB / 1.17 GB Notification: Performance of Templates: time 0.1013/1.548, allocations: 63.5 MB / 1.528 GB, free: 7.031 MB / 1.233 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.411444315686822]