Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.00104/0.00104, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002482, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009535/0.0009535, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002142, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9408/0.9408, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1234/1.064, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.397/2.397, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2673/2.664, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.117e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01326/0.01328, allocations: 6.467 MB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.02377, allocations: 2.179 MB / 0.8267 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009905/0.02476, allocations: 47.62 kB / 0.8268 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008559/0.02562, allocations: 278.2 kB / 0.8271 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.03008, allocations: 0.7421 MB / 0.8278 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.03125, allocations: 0.5576 MB / 0.8283 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00648/0.03773, allocations: 3.069 MB / 0.8313 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.04007, allocations: 1.417 MB / 0.8327 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.04267, allocations: 1.767 MB / 0.8344 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.04458, allocations: 1.543 MB / 0.8359 GB, free: 0.7148 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.04488, allocations: 219.9 kB / 0.8361 GB, free: 0.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006877/0.04557, allocations: 319.7 kB / 0.8365 GB, free: 192 kB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0009401/0.04651, allocations: 0.9981 MB / 0.8374 GB, free: 15.19 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008697/0.04738, allocations: 0.5967 MB / 0.838 GB, free: 14.59 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.04939, allocations: 1.815 MB / 0.8398 GB, free: 12.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.482e-05/0.04941, allocations: 0 / 0.8398 GB, free: 12.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.156e-06/0.04942, allocations: 0 / 0.8398 GB, free: 12.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.647e-05/0.04949, allocations: 0 / 0.8398 GB, free: 12.77 MB / 0.823 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.002571/0.05207, allocations: 2.173 MB / 0.8419 GB, free: 10.56 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.0521, allocations: 8.625 kB / 0.8419 GB, free: 10.55 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/0.0547, allocations: 0.9148 MB / 0.8428 GB, free: 9.621 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.0559, allocations: 0.8553 MB / 0.8436 GB, free: 8.738 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.05596, allocations: 107.3 kB / 0.8437 GB, free: 8.633 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.05616, allocations: 148.3 kB / 0.8439 GB, free: 8.488 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.05783, allocations: 1.473 MB / 0.8453 GB, free: 6.895 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.05786, allocations: 12.06 kB / 0.8453 GB, free: 6.883 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.05798, allocations: 68.34 kB / 0.8454 GB, free: 6.816 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.05812, allocations: 178.9 kB / 0.8456 GB, free: 6.641 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009274/0.05905, allocations: 0.603 MB / 0.8462 GB, free: 6.027 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006287/0.06534, allocations: 6.375 MB / 0.8524 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.06589, allocations: 414 kB / 0.8528 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.06618, allocations: 268.6 kB / 0.853 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.06623, allocations: 12.66 kB / 0.853 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.06626, allocations: 43.22 kB / 0.8531 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=82): time 2.896e-06/0.06626, allocations: 0 / 0.8531 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85): time 0.008434/0.0747, allocations: 4.025 MB / 0.857 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.07473, allocations: 64.34 kB / 0.8571 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.07519, allocations: 0.6245 MB / 0.8577 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.07525, allocations: 37.7 kB / 0.8577 GB, free: 9.898 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.0755, allocations: 0.6762 MB / 0.8584 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.07568, allocations: 317.2 kB / 0.8587 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.0759, allocations: 190.8 kB / 0.8589 GB, free: 8.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.07608, allocations: 402.5 kB / 0.8593 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.07632, allocations: 169.4 kB / 0.8594 GB, free: 8.133 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.07666, allocations: 426.5 kB / 0.8598 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.07727, allocations: 0.6837 MB / 0.8605 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.07728, allocations: 4 kB / 0.8605 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002173/0.07945, allocations: 1.351 MB / 0.8618 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.07948, allocations: 14.66 kB / 0.8618 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.07949, allocations: 8 kB / 0.8618 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.0816, allocations: 0.8611 MB / 0.8627 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.08206, allocations: 175.7 kB / 0.8628 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/0.08779, allocations: 5.566 MB / 0.8683 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.08835, allocations: 32 kB / 0.8683 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.08841, allocations: 35.94 kB / 0.8683 GB, free: 14.55 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004109/0.08882, allocations: 168.4 kB / 0.8685 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.089, allocations: 95.84 kB / 0.8686 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.09142, allocations: 1.245 MB / 0.8698 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.09144, allocations: 12 kB / 0.8698 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.09144, allocations: 8 kB / 0.8698 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.09145, allocations: 3.984 kB / 0.8698 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.09451, allocations: 2.072 MB / 0.8719 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.09452, allocations: 4 kB / 0.8719 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.09473, allocations: 83.84 kB / 0.8719 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.095, allocations: 191.3 kB / 0.8721 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/0.09704, allocations: 0.8324 MB / 0.8729 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.09708, allocations: 16 kB / 0.873 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006376/0.1035, allocations: 5.568 MB / 0.8784 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1035, allocations: 8.062 kB / 0.8784 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.1056, allocations: 1.323 MB / 0.8797 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.1057, allocations: 23.98 kB / 0.8797 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.106, allocations: 16 kB / 0.8797 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.1062, allocations: 76.39 kB / 0.8798 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.1062, allocations: 16 kB / 0.8798 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003306/0.1065, allocations: 304.5 kB / 0.8801 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/0.1065, allocations: 4 kB / 0.8801 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001299/0.1078, allocations: 0.5195 MB / 0.8806 GB, free: 1.629 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001686/0.108, allocations: 100.3 kB / 0.8807 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.1096, allocations: 1.111 MB / 0.8818 GB, free: 396 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.412e-05/0.1096, allocations: 19.12 kB / 0.8818 GB, free: 372 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.1106, allocations: 0.8156 MB / 0.8826 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.1113, allocations: 285.5 kB / 0.8829 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008426/0.1198, allocations: 2.772 MB / 0.8856 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.1202, allocations: 459.1 kB / 0.886 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.1205, allocations: 87.61 kB / 0.8861 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.1208, allocations: 189.3 kB / 0.8863 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of SimCode: time 1.854e-06/0.1208, allocations: 0 / 0.8863 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of Templates: time 0.02908/0.1499, allocations: 26.62 MB / 0.9123 GB, free: 1.289 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.572391380555928]