Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009817/0.0009817, allocations: 84.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.00163/0.00163, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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.981/0.981, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.992/1.992, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.588e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008957/0.008983, allocations: 10.42 MB / 0.7702 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008975/0.01796, allocations: 6.957 MB / 0.777 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.0194, allocations: 91.19 kB / 0.7771 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.0207, allocations: 393.6 kB / 0.7775 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.02436, allocations: 1.679 MB / 0.7791 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.02569, allocations: 0.6607 MB / 0.7798 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003222/0.02891, allocations: 2.849 MB / 0.7826 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.03048, allocations: 1.258 MB / 0.7838 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.03372, allocations: 2.096 MB / 0.7858 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.03519, allocations: 0.9557 MB / 0.7868 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002928/0.03548, allocations: 160 kB / 0.7869 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/0.03618, allocations: 323.6 kB / 0.7872 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004786/0.03666, allocations: 0.6438 MB / 0.7879 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007566/0.03741, allocations: 0.6468 MB / 0.7885 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.03927, allocations: 1.541 MB / 0.79 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.03927, allocations: 1.281 kB / 0.79 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.03927, allocations: 0 / 0.79 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.591e-05/0.03931, allocations: 0 / 0.79 GB, free: 7.883 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002523/0.04183, allocations: 1.994 MB / 0.7919 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.04187, allocations: 11.97 kB / 0.792 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.04525, allocations: 0.8648 MB / 0.7928 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.04672, allocations: 1.071 MB / 0.7938 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.04677, allocations: 95.92 kB / 0.7939 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.04694, allocations: 116.4 kB / 0.794 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.04876, allocations: 1.616 MB / 0.7956 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.04879, allocations: 17.05 kB / 0.7956 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.0489, allocations: 51.98 kB / 0.7957 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/0.04922, allocations: 146.2 kB / 0.7958 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.05008, allocations: 0.5723 MB / 0.7964 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005889/0.05597, allocations: 5.719 MB / 0.802 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009893/0.05696, allocations: 0.585 MB / 0.8025 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.05729, allocations: 251.3 kB / 0.8028 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.05735, allocations: 17 kB / 0.8028 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.05738, allocations: 44.75 kB / 0.8028 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=89): time 2.695e-06/0.05738, allocations: 0 / 0.8028 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90): time 0.009225/0.06661, allocations: 3.898 MB / 0.8066 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.06665, allocations: 72.34 kB / 0.8067 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.06742, allocations: 0.9028 MB / 0.8076 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.06749, allocations: 41.7 kB / 0.8076 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.06778, allocations: 0.5812 MB / 0.8082 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.068, allocations: 337 kB / 0.8085 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.06826, allocations: 186.8 kB / 0.8087 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.06835, allocations: 345.9 kB / 0.809 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.06864, allocations: 202.5 kB / 0.8092 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.06906, allocations: 436.5 kB / 0.8096 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007737/0.06983, allocations: 0.7194 MB / 0.8103 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.06984, allocations: 4 kB / 0.8104 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002133/0.07197, allocations: 1.266 MB / 0.8116 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.072, allocations: 8 kB / 0.8116 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.07201, allocations: 11.98 kB / 0.8116 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.07442, allocations: 0.8513 MB / 0.8124 GB, free: 236 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.07501, allocations: 183.7 kB / 0.8126 GB, free: 52 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006286/0.08129, allocations: 6.979 MB / 0.8194 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.08212, allocations: 56 kB / 0.8195 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.08221, allocations: 39.97 kB / 0.8195 GB, free: 8.594 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 69 * 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 {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003928/0.0826, allocations: 176.3 kB / 0.8197 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.08282, allocations: 119.9 kB / 0.8198 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.08495, allocations: 1.249 MB / 0.821 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.08495, allocations: 11.94 kB / 0.821 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.08497, allocations: 8 kB / 0.821 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.08497, allocations: 3.984 kB / 0.821 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.08822, allocations: 1.981 MB / 0.823 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.08822, allocations: 4.188 kB / 0.823 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.08867, allocations: 115.8 kB / 0.8231 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/0.09088, allocations: 0.8354 MB / 0.8239 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.09095, allocations: 27.97 kB / 0.8239 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006267/0.09722, allocations: 6.999 MB / 0.8308 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.09722, allocations: 7.984 kB / 0.8308 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.09966, allocations: 1.262 MB / 0.832 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.1001, allocations: 246.9 kB / 0.8322 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.1003, allocations: 16 kB / 0.8323 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.1007, allocations: 43.97 kB / 0.8323 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.101, allocations: 92.8 kB / 0.8324 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.1011, allocations: 27.97 kB / 0.8324 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003909/0.1014, allocations: 455.7 kB / 0.8329 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.1014, allocations: 4 kB / 0.8329 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001272/0.1027, allocations: 488 kB / 0.8333 GB, free: 9.898 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 33 * 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 {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002212/0.1029, allocations: 108.3 kB / 0.8334 GB, free: 9.785 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.1048, allocations: 1.463 MB / 0.8349 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/0.1048, allocations: 12.5 kB / 0.8349 GB, free: 8.262 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.106, allocations: 1.13 MB / 0.836 GB, free: 7.074 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.1072, allocations: 0.5186 MB / 0.8365 GB, free: 6.574 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.1107, allocations: 2.515 MB / 0.8389 GB, free: 4 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.111, allocations: 396.1 kB / 0.8393 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007934/0.1118, allocations: 287.2 kB / 0.8396 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/0.1126, allocations: 395 kB / 0.84 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of SimCode: time 1.283e-06/0.1126, allocations: 0 / 0.84 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of Templates: time 0.04237/0.155, allocations: 35.49 MB / 0.8746 GB, free: 48 kB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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.7500918987207115]