Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001601/0.001601, allocations: 116 kB / 17.08 MB, free: 5.988 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.001792/0.001792, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.518/1.518, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 437.1 MB / 0.7178 GB, free: 4.5 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002555, allocations: 75.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3056, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01362/0.3192, allocations: 10.01 MB / 1.186 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005694/0.3249, allocations: 3.045 MB / 1.189 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006286/0.3256, allocations: 35.88 kB / 1.189 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.3276, allocations: 0.6803 MB / 1.189 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.3295, allocations: 0.7 MB / 1.19 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.3312, allocations: 0.6393 MB / 1.191 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003483/0.3346, allocations: 2.734 MB / 1.193 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003363/0.338, allocations: 2.531 MB / 1.196 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.3403, allocations: 1.13 MB / 1.197 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.3426, allocations: 1.379 MB / 1.198 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004081/0.343, allocations: 216 kB / 1.198 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.3441, allocations: 495.2 kB / 1.199 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.3453, allocations: 0.9824 MB / 1.2 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.3468, allocations: 1.023 MB / 1.201 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004319/0.3511, allocations: 3.415 MB / 1.204 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.3512, allocations: 4 kB / 1.204 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.158e-06/0.3512, allocations: 0 / 1.204 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.627e-05/0.3513, allocations: 0 / 1.204 GB, free: 8.754 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004919/0.3562, allocations: 1.984 MB / 1.206 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/0.3563, allocations: 12.03 kB / 1.206 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006065/0.3623, allocations: 0.9008 MB / 1.207 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.3646, allocations: 1.165 MB / 1.208 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.822e-05/0.3647, allocations: 111.3 kB / 1.208 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.365, allocations: 144.3 kB / 1.208 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004968/0.37, allocations: 3.013 MB / 1.211 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.521e-05/0.3701, allocations: 3.938 kB / 1.211 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.3703, allocations: 67.97 kB / 1.211 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002444/0.3705, allocations: 179 kB / 1.212 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/0.375, allocations: 2.604 MB / 1.214 GB, free: 14.37 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/0.3933, allocations: 13.51 MB / 1.227 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.3955, allocations: 1.291 MB / 1.229 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.397, allocations: 1.051 MB / 1.23 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.3971, allocations: 8.656 kB / 1.23 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.3971, allocations: 39.22 kB / 1.23 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/0.3972, allocations: 0 / 1.23 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.0784/0.4756, allocations: 19.42 MB / 1.249 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.4757, allocations: 68.72 kB / 1.249 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.4772, allocations: 0.9184 MB / 1.25 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000223/0.4774, allocations: 49.7 kB / 1.25 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006962/0.4782, allocations: 0.7462 MB / 1.25 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005792/0.4787, allocations: 0.4957 MB / 1.251 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006521/0.4794, allocations: 295.4 kB / 1.251 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.4796, allocations: 357.9 kB / 1.251 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.4817, allocations: 1.343 MB / 1.253 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.4841, allocations: 1.655 MB / 1.254 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004483/0.4886, allocations: 3.085 MB / 1.257 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.4886, allocations: 4 kB / 1.257 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.657/1.146, allocations: 5.637 MB / 1.263 GB, free: 77.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/1.146, allocations: 12.23 kB / 1.263 GB, free: 77.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/1.146, allocations: 9.25 kB / 1.263 GB, free: 77.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009757/1.155, allocations: 2.712 MB / 1.266 GB, free: 76.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/1.156, allocations: 195.7 kB / 1.266 GB, free: 76.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03673/1.193, allocations: 25.74 MB / 1.291 GB, free: 63.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.195, allocations: 99.94 kB / 1.291 GB, free: 63.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/1.195, allocations: 55.39 kB / 1.291 GB, free: 63.62 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001195/1.196, allocations: 0.7359 MB / 1.292 GB, free: 63.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/1.196, allocations: 116.2 kB / 1.292 GB, free: 63.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/1.208, allocations: 5.399 MB / 1.297 GB, free: 61.44 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.208, allocations: 15.19 kB / 1.297 GB, free: 61.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-05/1.208, allocations: 18.16 kB / 1.297 GB, free: 61.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/1.208, allocations: 7.266 kB / 1.297 GB, free: 61.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.224, allocations: 8.696 MB / 1.306 GB, free: 58.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.224, allocations: 4.562 kB / 1.306 GB, free: 58.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/1.224, allocations: 120.2 kB / 1.306 GB, free: 58.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008511/1.233, allocations: 2.592 MB / 1.308 GB, free: 57.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002624/1.233, allocations: 29.53 kB / 1.308 GB, free: 57.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02976/1.263, allocations: 24.18 MB / 1.332 GB, free: 41.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.263, allocations: 7.062 kB / 1.332 GB, free: 41.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.273, allocations: 5.259 MB / 1.337 GB, free: 37.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/1.274, allocations: 496.1 kB / 1.338 GB, free: 36.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003481/1.274, allocations: 28 kB / 1.338 GB, free: 36.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.275, allocations: 75.89 kB / 1.338 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005106/1.276, allocations: 125 kB / 1.338 GB, free: 36.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.276, allocations: 36 kB / 1.338 GB, free: 36.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007271/1.277, allocations: 0.6473 MB / 1.338 GB, free: 35.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.277, allocations: 0 / 1.338 GB, free: 35.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002384/1.279, allocations: 0.7227 MB / 1.339 GB, free: 34.93 MB / 0.9981 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/1.279, allocations: 133.4 kB / 1.339 GB, free: 34.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006225/1.285, allocations: 4.225 MB / 1.343 GB, free: 30.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.286, allocations: 4.438 kB / 1.343 GB, free: 30.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004753/1.29, allocations: 2.742 MB / 1.346 GB, free: 27.74 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/1.292, allocations: 216.1 kB / 1.346 GB, free: 27.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006042/1.298, allocations: 4.294 MB / 1.351 GB, free: 23.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.299, allocations: 1.739 MB / 1.352 GB, free: 21.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/1.3, allocations: 63.42 kB / 1.352 GB, free: 21.37 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.3, allocations: 0 / 1.352 GB, free: 21.37 MB / 0.9981 GB Notification: Performance of Templates: time 0.06189/1.361, allocations: 59.99 MB / 1.411 GB, free: 9.379 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 14.912487969035283]